0

I've been trying to install openFOAM on 18.04 and get the following error after sudo apt-get install openfoam6:

The following packages have unmet dependencies.
 openfoam6 : Depends: libopenmpi2 but it is not installable
E: Unable to correct problems, you have held broken packages.

I tried running sudo apt-get install libopenmpi2 and get:

E: Package 'libopenmpi2' has no installation candidate

I'm not really familiar with this kind of issue, but I was under the assumption that if I can find something here then it should be installable?

Any ideas on what to try to fix it?

New contributor
LADransfield is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Run sudo add-apt-repository universe and try installation again – Kulfy Jan 12 at 20:13
  • Thanks @Kulfy, unfortunately I think that's already added: "sudo add-apt-repository universe" – LADransfield Jan 12 at 20:15

Your Answer

LADransfield is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.