我无法通过终端安装任何东西。当我安装 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
用于重新安装所有内容。