如何修复 ubuntu 软件包目录?

如何修复 ubuntu 软件包目录?

可能重复:
我该如何解决未满足的依赖关系?

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:
 totem-plugins : Depends: libgnomeui-0 (>= 2.17.1) but it is not going to be installed
                 Depends: libtrackerclient0 (>= 0.6.6) but it is not installable
                 Depends: python-gdata but it is not going to be installed
                 Depends: totem-gstreamer (= 2.22.1-0ubuntu3.8.04.6) but it is not installable or
                          totem-xine (= 2.22.1-0ubuntu3.8.04.6) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

尝试运行 apt 建议的命令,即“apt-get -f install”。尝试从 /etc/apt/sources.list 启用 multiverse 和 universe 存储库(最好先备份文件)。然后运行“sudo rm -rf /var/lib/apt/lists/*”、“sudo apt-get update”和“sudo apt-get upgrade”。

您可能还想查看以下链接;

添加 PPA 后如何解决未满足的依赖关系?

强制安装 apt-get

相关内容