每当我尝试安装任何东西时,我都会反复得到下面的错误,然后停止安装。此外,我还得到了一个错误,我必须修复Ubuntu软件中心,但我不能对此作出同样的错误。
例如,当我运行命令时:
sudo apt-get install unity-tweak-tool我知道这个错误:
Reading package lists... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
adobe-flash-properties-gtk:
Depends: adobe-flashplugin (= 1:20160310.1-0ubuntu 0.12.04.1)
but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages
(or specify a solution)发布于 2016-03-13 14:25:41
我已经面临过类似的问题,我想在大多数情况下,你唯一需要做的就是
sudo dpkg --configure -a然后
sudo apt-get install -f如果这没有帮助,那么您应该编辑文件/var/lib/dpkg/status,并删除所有损坏的包块。然后重复前两个命令,这将修复它。
发布于 2016-03-13 12:55:55
试着开始才能
sudo aptitude智能也应该决定问题,并经常提出一个解决方案,可以应用于按下"!"-key。看一看才能的底线。在红色背景线上应该有一些暗示。
解决方案通常是删除未安装的包。
https://askubuntu.com/questions/745451
复制相似问题