http://www.upubuntu.com/2013/05/how-to-fix-broken-packages-using.html
If you cannot install new packages using the terminal under Ubuntu 13.04/12.10 or older and you receive this type of error:
You may try these various types of solutions that may help you repair your package database:
Tip 1
Via the terminal, enter this command to fix broken packages:
sudo apt-get --fix-broken install
Tip 2
If the above command didn't help, try these ones:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
Tip 3
You may also try these commands:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
Tip 4
Another useful commands:
sudo dpkg --configure -a
sudo apt-get update
Tip 5
Open Ubuntu Software Center and if prompted to repair broken packages, click simply the repair button.
本文提供了解决Ubuntu 13.04/12.10或更早版本中无法安装新软件包的问题,当收到错误提示时,通过一系列步骤来修复损坏的软件包数据库:使用终端运行特定命令,尝试多种解决方案,包括使用`sudo apt-get --fix-broken install`、清理和更新软件源等。

4117

被折叠的 条评论
为什么被折叠?



