kubuntu-desktop 설치 후 "하위 프로세스 /usr/bin/dpkg가 오류 코드를 반환했습니다"

kubuntu-desktop 설치 후 "하위 프로세스 /usr/bin/dpkg가 오류 코드를 반환했습니다"

터미널을 통해 아무것도 설치할 수 없습니다. 이것은 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

모두 다시 설치하십시오.

관련 정보