Вчера я обновил свой Hp g6 с Ubuntu 13.10 до 14.04.
Теперь я не могу войти в систему с помощью Unity.
Но я все еще могу войти в систему с помощью диспетчера окон i3.
Я проверил и обнаружил, что рабочий стол ubuntu
не работает. Я пытался переустановить его, он жаловался на проблему с зависимостями и неработающий пакет.
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 resolve the situation:
The following packages have unmet dependencies:
ubuntu-desktop : Depends: ubuntu-session but it is not going to be installed
Recommends: empathy but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
когда я пытался установить ubuntu-session,
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 resolve the situation:
The following packages have unmet dependencies:
ubuntu-session : Depends: gnome-session-bin (< 3.10) but
3.10.1-0ubuntu1~saucy1 is to be installed
Depends: gnome-session-common (= 3.9.90-0ubuntu12) but
3.10.1-0ubuntu1~saucy1 is to be installed
E: Unable to correct problems, you have held broken packages.
я пытался
sudo apt-get install -f
, но это не сработало.
Любая помощь будет принята с благодарностью. Спасибо.
Простое решение:
apt-get remove ubuntu-desktop gnome-session-*
apt-get update
apt-get install gdm gnome-session gnome-session-bin gnome-session-canberra gnome-session-common gnome-session-flashback gnome-shell-extensions nautilus-share ubuntu-desktop
Используйте способность вместо этого,
sudo aptitude install -f ubuntu-session
Она установит сессию человечности и зависимости с некоторыми опциями.