Pat*_*ryk 5 settings unity dialog system-settings 14.04
在我将装有 Ubuntu 14.04.1 的硬盘驱动器放入新电脑后,系统设置不会显示。我试过了:
sudo apt-get install unity-control-center
Run Code Online (Sandbox Code Playgroud)
但我明白了
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.
Run Code Online (Sandbox Code Playgroud)
我能做什么?
编辑
该问题可能与我从xorg edgers获得的 mesa 软件包有关,我注意到
unity-control-center 取决于 libcheese7libcheese7 取决于 gstreamer1.0-cluttergstreamer1.0-clutter 取决于 libcogl15libcogl15 depends 在 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-edges 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.
Run Code Online (Sandbox Code Playgroud)
我已经禁用了 PPA
sudo ppa-purge ppa:xorg-edgers/ppa && sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
所以问题出在依赖关系上,即
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
Run Code Online (Sandbox Code Playgroud)
现在我删除了 xorg-edgers 中的所有软件包,并打开了系统设置对话框 :)
小智 5
有此错误报告在这里。(解决方案来自#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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16302 次 |
| 最近记录: |