Системные настройки перестали отображаться
После того, как я установил свой жесткий диск с Ubuntu 14.04.1 в новый компьютер, настройки системы не будут отображаться. Я пытался:
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.
А что я могу сделать?
РЕДАКТИРОВАТЬ
Проблема может быть связана с mesa-пакетами, которые у меня были от xorg edgers, и я заметил, что
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-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
3 ответа
Так что проблема была с зависимостями, а именно
libegl1-mesa-drivers в зависимости от libglapi-mesa ( = 10.1.3-0ubuntu0.3 ) (может быть, должно быть >=)
Я снова добавил PPA-файл xorg-edgers, а затем исправил версию 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 и открывается диалог настроек системы:)
Здесь есть сообщение об ошибке. (Решение пришло из ответа № 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
Попробуй сделать sudo apt-get install -f unity-control-center или найдите отсутствующие имена пакетов и установите их вручную.