系统设置不再显示

系统设置不再显示

当我将装有 Ubuntu 14.04.1 的硬盘放入新 PC 后,系统设置不会显示。我尝试过:

sudo apt-get install unity-control-center

但我明白

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我能做些什么?

编辑

这个问题可能与我从xorg edgers我注意到

  • unity-control-center依赖于取决于libcheese7
  • libcheese7依赖于取决于gstreamer1.0-clutter
  • gstreamer1.0-clutter依赖于取决于libcogl15
  • libcogl15 dependslibegl1-mesa-drivers
  • libegl1-mesa-drivers依赖于取决于libegl1-mesa-drivers
  • libegl1-mesa-drivers依赖于取决于libglapi-mesa ( = 10.1.3-0ubuntu0.3 )

我已经安装了:

libglapi-mesa 10.5.0~git20150105.21a280f8-0ubuntu0ricotz~trusty来自 xorg-edgers PPA。

我尝试使用以下方法安装它:

sudo apt-get install libglapi-mesa=10.1.3-0ubuntu0.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or
                                gnome-control-center but it is not going to be installed or
                                ubuntu-system-settings but it is not going to be installed
 libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
              Depends: gstreamer1.0-clutter but it is not going to be installed
 libclutter-gtk-1.0-0 : Depends: libclutter-1.0-0 (>= 1.13.10) but it is not going to be installed
                        Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
 libcogl-pango15 : Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我已经禁用了 PPA

sudo ppa-purge  ppa:xorg-edgers/ppa && sudo apt-get update

答案1

因此问题出在依赖关系上,即

libegl1-mesa-drivers取决于libglapi-mesa ( = 10.1.3-0ubuntu0.3 )(也许应该是>=

我再次添加了 xorg-edgers PPA,然后使用 ppa-purge 进行了正确降级,如下所示:

sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update
sudo ppa-purge  ppa:xorg-edgers/ppa && sudo apt-get update

现在我已删除了 xorg-edgers 中的所有软件包,并且系统设置对话框打开了 :)

答案2

有一个错误报告这里。(解决方案来自#10条回复)

显然,通过输入以下行,我的问题得到了解决:

sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0

答案3

尝试执行sudo apt-get install -f unity-control-center或搜索缺少的包名称并手动安装它们。

相关内容