На моем компьютере с Ubuntu 13.04 у меня был включен Обновленный и оптимизированный PPA с открытыми графическими драйверами, и с недавним обновлением требовался Wayland в качестве зависимости. Похоже, это сломало мою систему пакетов.
Я отключил этот PPA, поэтому, когда я пытаюсь обновить, я получаю следующее
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libegl1-mesa : Depends: libwayland-client0 (>= 1.2.1) but it is not installable
Depends: libwayland-server0 (>= 1.2.1) but it is not installable
Recommends: libegl1-mesa-drivers but it is not installed
libgail-3-0 : Depends: libgtk-3-0 (= 3.6.4-0ubuntu8+gd~r) but 3.6.4-0ubuntu8 is installed
libgbm1 : Depends: libwayland-client0 (>= 1.2.1) but it is not installable
Depends: libwayland-server0 (>= 1.2.1) but it is not installable
libgl1-mesa-dev : Depends: libgl1-mesa-glx (= 9.3~git1309181129.ec44d5~gd~r) but 9.3~git1309171217.a1b6e6~gd~r is installed
libgtk-3-0 : Depends: libgtk-3-common (= 3.6.4-0ubuntu8) but 3.6.4-0ubuntu8+gd~r is installed
libgtk-3-bin : Depends: libgtk-3-0 (>= 3.6.4-0ubuntu8+gd~r) but 3.6.4-0ubuntu8 is installed
E: Unmet dependencies. Try using -f.
, я не смею делать sudo apt-get -f install
, так как это удалит огромное количество пакетов, включая unity, network- менеджер-гном и др.
Что мне делать? Я попытался установить Synaptic (и одну из его зависимостей, libgtk-3-0) из пакетов DEB, найденных на Launchpad, но это также не удалось.
Я готов полностью удалить указанный PPA, используя ppa-purge. Когда я пытаюсь это сделать, предлагаемые решения всегда подразумевают удаление Unity, чего я не хочу.
Вот вывод sudo apt-get check
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libegl1-mesa : Depends: libwayland-client0 (>= 1.2.1) but it is not installable
Depends: libwayland-server0 (>= 1.2.1) but it is not installable
Recommends: libegl1-mesa-drivers but it is not installed
libgail-3-0 : Depends: libgtk-3-0 (= 3.6.4-0ubuntu8+gd~r) but 3.6.4-0ubuntu8 is installed
libgbm1 : Depends: libwayland-client0 (>= 1.2.1) but it is not installable
Depends: libwayland-server0 (>= 1.2.1) but it is not installable
libgl1-mesa-dev : Depends: libgl1-mesa-glx (= 9.3~git1309181129.ec44d5~gd~r) but 9.3~git1309171217.a1b6e6~gd~r is installed
libgtk-3-0 : Depends: libgtk-3-common (= 3.6.4-0ubuntu8) but 3.6.4-0ubuntu8+gd~r is installed
libgtk-3-bin : Depends: libgtk-3-0 (>= 3.6.4-0ubuntu8+gd~r) but 3.6.4-0ubuntu8 is installed
E: Unmet dependencies. Try using -f.
Попробуйте эти команды:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libwayland-client0_1.2.1-1~r~gd_amd64.deb /var/cache/apt/archives/libwayland-server0_1.2.1-1~r~gd_amd64.deb
sudo apt-get install -f
sudo apt-get dist-upgrade
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libwayland-cursor0_1.2.1-1~r~gd_amd64.deb
sudo apt-get dist-upgrade
В итоге я переустановил Ubuntu, так как я все равно хотел обновить его до Ubuntu 13.10.