apt-get install 无法安装任何东西

apt-get install 无法安装任何东西

我做了一些我认为破坏了一切的事情。sudo apt-get install在 Ubuntu 16.xx 中无法安装任何东西

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libopenmpi-dev : Depends: libopenmpi1.10 (= 1.10.3-3ubuntu2) but it is not installed
 openmpi-bin : Depends: libopenmpi1.10 but it is not installed
E: Unmet dependencies. Try using -f.

答案1

让 apt 尝试自行修复它:

sudo apt-get -f install

相关内容