Ubuntu 12.04 升级问题(软件包系统损坏)

Ubuntu 12.04 升级问题(软件包系统损坏)

包装系统已损坏

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f

Details :

The following packages have unmet dependencies:

gir1.2-mutter-3.0: gnome-shell: Depends: libgjs0-libmozjs185-1.0 but it is a virtual package

Depends: libpulse-mainloop-glib0 (>= 1:0.99.1) but 1:1.1-0ubuntu15.1 is installed

Depends: libpulse0 (>= 1:0.99.1) but 1:1.1-0ubuntu15.1 is installed

Depends: libxfixes3 (>= 1:5.0) but 1:5.0-4ubuntu4 is installed

             Depends: gnome-shell-common (= 3.5.4+git20120721.r1.dd80f390-0ubuntu1~12.04~ricotz1) but 3.5.4+git20120721.r1.dd80f390-0ubuntu1~12.04~ricotz1 is installed

libmutter0: Depends: libice6 (>= 1:1.0.0) but 2:1.0.7-2build1 is installed

Depends: libx11-6 (>= 2:1.4.99.1) but 2:1.4.99.1-0ubuntu2 is installed

Depends: libxcomposite1 (>= 1:0.3-1) but 1:0.4.3-2build1 is installed

Depends: libxdamage1 (>= 1:1.1) but 1:1.1.3-2build1 is installed

Depends: libxrandr2 (>= 2:1.2.99.3) but 2:1.3.2-2 is installed

答案1

打开文件/etc/apt/sources.list并禁用所有不稳定或第三方存储库。然后运行sudo apt-get update && sudo apt-get upgrade

此外,正如您提供的代码片段中提到的,您可能必须运行sudo apt-get install -f

相关内容