当我把我的硬盘与Ubuntu14.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编辑获得的mesa软件包有关,我注意到
unity-control-center依赖于libcheese7libcheese7依赖于gstreamer1.0-cluttergstreamer1.0-clutter依赖于libcogl15libcogl15 depends on libegl1-mesa-driverslibegl1-mesa-drivers依赖于libegl1-mesa-driverslibegl1-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发布于 2015-01-26 19:29:16
因此,问题在于依赖关系,即
libegl1-mesa-drivers依赖于libglapi-mesa ( = 10.1.3-0ubuntu0.3 ) (也许应该是>=)
我再次添加了xorg-edgers PPA,然后适当地降低了ppa的级别,如下所示:
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中的所有包,打开了系统设置对话框:)
发布于 2015-06-28 14:22:43
这个这里有一个错误报告。(答案来自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发布于 2015-01-20 04:55:40
尝试执行sudo apt-get install -f unity-control-center或搜索缺少的包名,然后手动安装它们。
https://askubuntu.com/questions/575548
复制相似问题