Hello, This worked for me:
sudo rm -f /etc/aternatives/mpi* /var/lib/dpkg/alternatives/mpi* sudo apt install openmpi-bin Source: https://stackoverflow.com/questions/62464085/openmpi-bin-error-after-update-kubuntu-18-04-to-20-04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970985 Title: package openmpi-bin 4.1.2-2ubuntu1 failed to install/upgrade: installed openmpi-bin package post-installation script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1970985/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
