我试图安装(例如)nasm。
sudo apt-get install nasm
在此之后我收到一条错误消息:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-71-generic : Depends: linux-image-4.4.0-71-generic but it is not going to be installed
linux-image-extra-4.4.0-72-generic : Depends: linux-image-4.4.0-72-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-72-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
如果我跑:sudo apt -f install
我得到的是:
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-72-generic_4.4.0-72.93_amd64.deb
/var/cache/apt/archives/linux-image-4.4.0-71-generic_4.4.0-71.92_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案 0 :(得分:0)
sudo apt-get clean
或
sudo apt-get autoclean
或
如果您使用的是Ubuntu,请转到软件来源>其他软件 并取消选中不必要的ppa。