Dear Qlustar experts,
I am facing a problem with the installation of software on the bionic chroot. I need to install a software called OpenFOAM (CFD simulations). It requires as a dependency the package openmpi-bin, but when I try to install it with the following commands: # chroot-bionic # apt install openmpi-bin
I get the following diagnostic messages:
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: openmpi-bin : Depends: openmpi-common (= 2.1.1-ql.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I have so tried to uninstall the already installed mpi packages (openmpi-common-4.0, openmpi-gcc, openmpi-gcc-4.0) hoping to fix the broken packages, but the result is exactly the same, I continue to get this error. The strange for me is that in the output of command:
# apt list
the openmpi-bin package is listed as:
openmpi-bin/11.0-bionic 2.1.1-ql.1+11-bionic amd64
Then, after having removed all openmpi* packages already installed, I was sure that by using the command:
# apt install openmpi-bin
would have rebuild the correct dependencies and installed aligned openmpi packages. Instead I got always the same error.
I think this could be a common issue so I decided to share my experience with the other Qlustar users.
I would be very grateful to receive your hints.
Best regards,
Franco
"F" == marra marra@irc.cnr.it writes:
Hi again,
F> Dear Qlustar experts, I am facing a problem with the installation F> of software on the bionic chroot. I need to install a software F> called OpenFOAM (CFD simulations). It requires as a dependency F> the package openmpi-bin, but when I try to install it with the F> following commands: F> # chroot-bionic apt install openmpi-bin
F> I get the following diagnostic messages:
F> Reading package lists... Done Building dependency tree Reading F> state information... Done Some packages could not be F> installed. This may mean that you have requested an impossible F> situation or if you are using the unstable distribution that some F> required packages have not yet been created or been moved out of F> Incoming. The following information may help to resolve the F> situation:
F> The following packages have unmet dependencies: F> openmpi-bin : Depends: openmpi-common (= 2.1.1-ql.1) but it is F> not going to be installed F> E: Unable to correct problems, you have held broken packages.
this is a packaging bug (false dependency). The next security updates will include a fix.
Best,
Roland