Я не могу ничего установить через терминал. Это началось, когда я установил KDE и не смог (показывает черный экран при входе в систему). Он также не позволяет мне удалить KDE. "apt-get -f install" тоже не работает.
Вот вывод терминала после запуска «sudo apt-get install gnome-shell»:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo:
Los siguientes paquetes tienen dependencias incumplidas:
gnome-shell : Depende: gir1.2-clutter-1.0 (>= 1.22) pero no va a instalarse
Depende: gir1.2-mutter-3.0 (>= 3.18.1) pero no va a instalarse
Depende: gir1.2-networkmanager-1.0 pero no va a instalarse
Depende: gir1.2-telepathyglib-0.12 pero no va a instalarse
Depende: libgjs0-libmozjs-24-0
Depende: libgjs0e (>= 1.44.0) pero no va a instalarse
Depende: libmozjs-24-0v5 pero no va a instalarse
Depende: gir1.2-gdm-1.0 (>= 3.18.2) pero no va a instalarse
Depende: gir1.2-accountsservice-1.0
Depende: gir1.2-caribou-1.0 (>= 0.4.8) pero no va a instalarse
Depende: gir1.2-gcr-3 (>= 3.7.5) pero no va a instalarse
Depende: gir1.2-gkbd-3.0 pero no va a instalarse
Depende: gir1.2-gnomebluetooth-1.0 (>= 3.12.0) pero no va a instalarse
Depende: gir1.2-gweather-3.0 pero no va a instalarse
Depende: gir1.2-nmgtk-1.0 (>= 0.9.8) pero no va a instalarse
Depende: gir1.2-polkit-1.0 pero no va a instalarse
Depende: gir1.2-telepathylogger-0.2 (>= 0.8.0) pero no va a instalarse
Depende: gir1.2-upowerglib-1.0 (>= 0.99) pero no va a instalarse
Depende: gjs (>= 1.39.0) pero no va a instalarse
Depende: gnome-session pero no va a instalarse
Depende: gnome-backgrounds (>= 3.13.90) pero no va a instalarse
Depende: mutter (>= 3.18.1) pero no va a instalarse
Recomienda: gnome-contacts pero no va a instalarse
Recomienda: gnome-control-center pero no va a instalarse
Recomienda: gdm3 (>= 3.10.0.1-3~) pero no va a instalarse
kde-telepathy-minimal : Depende: kde-config-telepathy-accounts (>= 15.04.0) pero no va a instalarse
E: Dependencias incumplidas. Intente «apt-get -f install» sin paquetes (o especifique una solución).
Перевод (некоторые вещи могут быть немного неверными):
Reading package list... Done
Creating dependencies tree
Reading status info... Done
You might want to run «apt-get -f install» to fix:
The next packages have unmet dependencies:
gnome-shell : Depends on: gir1.2-clutter-1.0 (>= 1.22) but it's not going to be installed
Depends on: gir1.2-mutter-3.0 (>= 3.18.1) but it's not going to be installed
Depends on: gir1.2-networkmanager-1.0 but it's not going to be installed
Depends on: gir1.2-telepathyglib-0.12 but it's not going to be installed
Depends on: libgjs0-libmozjs-24-0
Depends on: libgjs0e (>= 1.44.0) but it's not going to be installed
Depends on: libmozjs-24-0v5 but it's not going to be installed
Depends on: gir1.2-gdm-1.0 (>= 3.18.2) but it's not going to be installed
Depends on: gir1.2-accountsservice-1.0
Depends on: gir1.2-caribou-1.0 (>= 0.4.8) but it's not going to be installed
Depends on: gir1.2-gcr-3 (>= 3.7.5) but it's not going to be installed
Depends on: gir1.2-gkbd-3.0 but it's not going to be installed
Depends on: gir1.2-gnomebluetooth-1.0 (>= 3.12.0) but it's not going to be installed
Depends on: gir1.2-gweather-3.0 but it's not going to be installed
Depends on: gir1.2-nmgtk-1.0 (>= 0.9.8) but it's not going to be installed
Depends on: gir1.2-polkit-1.0 but it's not going to be installed
Depends on: gir1.2-telepathylogger-0.2 (>= 0.8.0) but it's not going to be installed
Depends on: gir1.2-upowerglib-1.0 (>= 0.99) but it's not going to be installed
Depends on: gjs (>= 1.39.0) but it's not going to be installed
Depends on: gnome-session but it's not going to be installed
Depends on: gnome-backgrounds (>= 3.13.90) but it's not going to be installed
Depends on: mutter (>= 3.18.1) but it's not going to be installed
Recommends: gnome-contacts but it's not going to be installed
Recommends: gnome-control-center but it's not going to be installed
Recommends: gdm3 (>= 3.10.0.1-3~) but it's not going to be installed
kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it's not going to be installed
E: Unmet dependencies. Try «apt-get -f install» without packages (or specify a solution).
решение1
Убедитесь, что вы бежите
sudo apt-get update
sudo apt-get dist-upgrade
для поддержания актуальности ваших пакетов. Попробуйте
sudo apt-get purge gnome-shell
для удаления пакета со всеми прикрепленными файлами и последующего использования
sudo apt-get install -f gnome-shell
Для повторной установки всего.