지침에 따라 Debian을 업데이트하려고 합니다. https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html#upgrade-process 모든 것이 잘 진행되고 있지만 내가 달릴 때
apt full-upgrade
SSH 세션이 중단되었으며 메시지는 다음과 같습니다.
Unpacking libkf5plasmaquick5:amd64 (5.103.0-1) over (5.78.0-3) ...
Preparing to unpack .../50-libgl1_1.6.0-1_amd64.deb ...
Unpacking libgl1:amd64 (1.6.0-1) over (1.3.2-1) ...
Preparing to unpack .../51-libglx0_1.6.0-1_amd64.deb ...
Unpacking libglx0:amd64 (1.6.0-1) over (1.3.2-1) ...
Preparing to unpack .../52-libopengl0_1.6.0-1_amd64.deb ...
Unpacking libopengl0:amd64 (1.6.0-1) over (1.3.2-1) ...
Preparing to unpack .../53-milou_4%3a5.27.5-2_amd64.deb ...
Unpacking milou (4:5.27.5-2) over (4:5.20.5-1) ...
Preparing to unpack .../54-breeze-cursor-theme_4%3a5.27.5-2_all.deb ...
Unpacking breeze-cursor-theme (4:5.27.5-2) over (4:5.20.5-4) ...
Preparing to unpack .../55-libkf5style5_5.103.0-1_amd64.deb ...
Unpacking libkf5style5:amd64 (5.103.0-1) over (5.78.0-2) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-xtUF3X/22-software-properties-qt_0.99.30-4_all.deb
Log ended: 2023-06-12 16:28:58
얼마 후 연결이 복원되었으며 이제 명령을 실행하려고 하면 다음과 같은 메시지가 표시됩니다.
sudo apt reinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
breeze : Depends: kde-style-breeze (= 4:5.27.5-2) but 4:5.20.5-4 is installed
Depends: libkf5kcmutils5 (>= 5.102.0~) but 5.78.0-3 is installed
Recommends: kde-style-qtcurve but it is not installable
dbus : Depends: dbus-daemon (= 1.14.6-1) but it is not installed
Depends: dbus-system-bus-common (>= 1.14.6-1) but it is not installed
dbus-user-session : Depends: dbus-daemon (= 1.14.6-1) but it is not installed or
dbus-broker but it is not installed
dbus-x11 : Depends: dbus-daemon (= 1.14.6-1) but it is not installed
dmsetup : Depends: libdevmapper1.02.1 (>= 2:1.02.181) but 2:1.02.175-2.1 is installed
eog : Depends: libgnome-desktop-3-20 (>= 3.17.92) but it is not installed
evince : Depends: libgnome-desktop-3-20 (>= 3.17.92) but it is not installed
evolution-data-server : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
gdm3 : Depends: dbus-daemon but it is not installed
geoclue-2.0 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
gir1.2-gnomedesktop-3.0 : Depends: libgnome-desktop-3-20 (>= 43~alpha) but it is not installed
gir1.2-javascriptcoregtk-4.0 : Depends: libjavascriptcoregtk-4.0-18 (= 2.40.1-1) but 2.40.1-1~deb11u1 is installed
gir1.2-rest-1.0 : Depends: librest-1.0-0 (>= 0.9.1) but it is not installed
gir1.2-shumate-1.0 : Depends: gir1.2-gtk-4.0 but it is not installed
gir1.2-soup-3.0 : Depends: libsoup-3.0-0 (= 3.2.2-2) but it is not installed
gir1.2-webkit2-4.0 : Depends: libwebkit2gtk-4.0-37 (= 2.40.1-1) but 2.40.1-1~deb11u1 is installed
gnome-calculator : Depends: libsoup-3.0-0 (>= 2.41.90) but it is not installed
gnome-characters : Depends: gir1.2-gtk-4.0 (>= 4.6) but it is not installed
Depends: gir1.2-adw-1 (>= 1.2~alpha) but it is not installed
gnome-control-center : Depends: libgoa-backend-1.0-1 (>= 3.45) but 3.38.0-3 is installed
Depends: libnma-gtk4-0 (>= 1.8.34) but it is not installed
Depends: libsnapd-glib-2-1 (>= 1.63) but it is not installed
Depends: libwacom9 (>= 2.0.0) but it is not installed
Recommends: gnome-remote-desktop (>= 42) but it is not installed
Recommends: power-profiles-daemon but it is not installed
Recommends: network-manager-gnome (>= 0.9.8) but it is not installed
gnome-online-accounts : Depends: libgoa-backend-1.0-1 (= 3.46.0-1) but 3.38.0-3 is installed
Depends: librest-1.0-0 (>= 0.9.1-2) but it is not installed
gnome-session-bin : Depends: libgnome-desktop-3-20 (>= 3.34.2) but it is not installed
gnome-settings-daemon : Depends: libgnome-desktop-3-20 (>= 3.37.1) but it is not installed
Depends: libwacom9 (>= 2.0.0) but it is not installed
gnome-shell : Depends: gir1.2-adw-1 but it is not installed
Depends: gir1.2-gnomebluetooth-3.0 (>= 42.3) but it is not installed
Depends: gir1.2-gtk-4.0 but it is not installed
Depends: gir1.2-mutter-11 (>= 43.0) but it is not installed
Depends: libgnome-desktop-3-20 (>= 3.35.90) but it is not installed
Recommends: gnome-remote-desktop but it is not installed
Recommends: power-profiles-daemon but it is not installed
gnome-shell-extension-prefs : Depends: gir1.2-adw-1 but it is not installed
Depends: gir1.2-gtk-4.0 but it is not installed
gnome-shell-extensions : Depends: gir1.2-adw-1 but it is not installed
Depends: gir1.2-gtk-4.0 but it is not installed
gnome-software : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
gnome-weather : Depends: gir1.2-adw-1 (>= 1.2~alpha) but it is not installed
Depends: gir1.2-gtk-4.0 (>= 4.5) but it is not installed
gstreamer1.0-plugins-bad : Depends: libdirectfb-1.7-7 (>= 1.7.7) but it is not installed
Depends: libfluidsynth3 (>= 2.2.0) but it is not installed
Depends: liblrdf0 (>= 0.4.0-1.2) but it is not installed
Depends: libneon27 but it is not installed
Depends: libopenh264-7 (>= 2.3.1+dfsg) but it is not installed
Depends: libzxing2 (>= 1.4.0) but it is not installed
gvfs-backends : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
gvfs-fuse : Depends: libfuse3-3 (>= 3.12.0) but 3.10.3-2 is installed
kde-config-screenlocker : Depends: libkf5configqml5 (>= 5.94.0) but it is not installed
Depends: libkf5kcmutils5 (>= 5.102.0~) but 5.78.0-3 is installed
kwin-common : Depends: libinput10 (>= 1.19.1) but 1.16.4-3 is installed
Depends: libkdecorations2private10 (>= 4:5.27.5~) but it is not installed
Depends: libkf5kcmutils5 (>= 5.102.0~) but 5.78.0-3 is installed
Depends: libkf5kcmutilscore5 (>= 5.102.0~) but it is not installed
Depends: libkf5newstuffcore5 (>= 5.102.0~) but 5.78.0-4 is installed
Depends: libkf5newstuffwidgets5 (>= 5.102.0~) but it is not installed
Depends: libkwineffects14 (= 4:5.27.5-3) but it is not installed
Depends: libkwinglutils14 (= 4:5.27.5-3) but it is not installed
Depends: qtbase-abi-5-15-8
Recommends: plasma-desktop (>= 4:5.27.5~) but 4:5.20.5-4 is installed
kwin-style-breeze : Depends: kde-style-breeze (= 4:5.27.5-2) but 4:5.20.5-4 is installed
kwin-x11 : Depends: libkwineffects14 (= 4:5.27.5-3) but it is not installed
Depends: libkwinglutils14 (= 4:5.27.5-3) but it is not installed
libedata-book-1.2-27 : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
libedata-cal-2.0-2 : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
libedataserver-1.2-27 : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
libedataserverui-1.2-4 : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
libedataserverui4-1.0-0 : Depends: libsoup-3.0-0 (>= 3.1.1) but it is not installed
libegl-mesa0 : Depends: libglapi-mesa (= 22.3.6-1+deb12u1) but 20.3.5-1 is installed
libevolution : Depends: libgnome-desktop-3-20 (>= 3.17.92) but it is not installed
Depends: libsoup-3.0-0 (>= 3.1) but it is not installed
libgeocode-glib-2-0 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
libgl1 : Depends: libglvnd0 (= 1.6.0-1) but 1.3.2-1 is installed
libglx0 : Depends: libglvnd0 (= 1.6.0-1) but 1.3.2-1 is installed
libgnome-desktop-4-2 : Depends: gnome-desktop3-data (>= 43.2-2) but 3.38.5-3 is installed
libgnome-rr-4-2 : Depends: gnome-desktop3-data (>= 43.2-2) but 3.38.5-3 is installed
libgweather-4-0 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
libkdecorations2-5v5 : Depends: libkdecorations2private10 (= 4:5.27.5-2) but it is not installed
libkf5auth5 : Depends: libkf5auth-data (= 5.103.0-1) but 5.78.0-2 is installed
libkf5authcore5 : Depends: libkf5auth-data (= 5.103.0-1) but 5.78.0-2 is installed
libkf5iconthemes5 : Depends: qtbase-abi-5-15-8
Recommends: libkf5iconthemes-bin (= 5.103.0-1) but 5.78.0-2 is installed
libkf5waylandclient5 : Depends: qtbase-abi-5-15-8
libkf5xmlgui5 : Depends: qtbase-abi-5-15-8
Recommends: libkf5xmlgui-bin (= 5.103.0-1) but 5.78.0-2 is installed
libkscreenlocker5 : Depends: libkf5configqml5 (>= 5.94.0) but it is not installed
Depends: libkf5screendpms8 (>= 4:5.26.90) but it is not installed
Depends: liblayershellqtinterface5 (>= 5.27.5~) but it is not installed
libmutter-11-0 : Depends: libgnome-desktop-3-20 (>= 3.36.0) but it is not installed
Depends: libinput10 (>= 1.19.1) but 1.16.4-3 is installed
Depends: libwacom9 (>= 2.0.0) but it is not installed
libopengl0 : Depends: libglvnd0 (= 1.6.0-1) but 1.3.2-1 is installed
libpam-systemd : Depends: systemd (= 252.6-1) but 247.3-7+deb11u2 is installed
libpulse-mainloop-glib0 : Depends: libpulse0 (= 16.1+dfsg1-2+b1) but 14.2-2 is installed
libqt5dbus5 : Depends: qtbase-abi-5-15-8
libqt5designer5 : Depends: qtbase-abi-5-15-8
libqt5gui5 : Depends: qtbase-abi-5-15-8
libqt5network5 : Depends: qtbase-abi-5-15-8
libqt5positioning5 : Depends: qtbase-abi-5-15-8
libqt5printsupport5 : Depends: qtbase-abi-5-15-8
libqt5qml5 : Depends: qtbase-abi-5-15-8
libqt5qmlmodels5 : Depends: qtbase-abi-5-15-8
libqt5quick5 : Depends: qtbase-abi-5-15-8
libqt5quickcontrols2-5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5quickparticles5 : Depends: qtbase-abi-5-15-8
libqt5quicktemplates2-5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5quickwidgets5 : Depends: qtbase-abi-5-15-8
libqt5sensors5 : Depends: qtbase-abi-5-15-8
libqt5sql5 : Depends: qtbase-abi-5-15-8
libqt5sql5-sqlite : Depends: qtbase-abi-5-15-8
libqt5svg5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5test5 : Depends: qtbase-abi-5-15-8
libqt5texttospeech5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5waylandclient5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5waylandcompositor5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5webchannel5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
libqt5webkit5 : Depends: qtbase-abi-5-15-8
libqt5widgets5 : Depends: qtbase-abi-5-15-8
libqt5x11extras5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
libqt5xml5 : Depends: qtbase-abi-5-15-8
libshumate-1.0-1 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
libwebkit2gtk-4.1-0 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
libwebkitgtk-6.0-4 : Depends: libsoup-3.0-0 (>= 3.0.3) but it is not installed
plasma-pa : Depends: pulseaudio but it is not installed
pulseaudio-module-gsettings : Depends: pulseaudio (= 14.2-2) but it is not installed
python3-pyqt5 : Depends: qtbase-abi-5-15-8
qml-module-org-kde-kirigami2 : Depends: qtbase-abi-5-15-8
qml-module-qt-labs-platform : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
qml-module-qtgraphicaleffects : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
qml-module-qtquick-controls : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
qml-module-qtquick-controls2 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
qml-module-qtquick-dialogs : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
qml-module-qtquick-layouts : Depends: qtbase-abi-5-15-8
qml-module-qtquick-privatewidgets : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
qml-module-qtquick-templates2 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
qtwayland5 : Depends: libqt5core5a (>= 5.15.8+dfsg~) but 5.15.2+dfsg-9 is installed
Depends: qtbase-abi-5-15-8
software-properties-common : Depends: python3-software-properties (= 0.99.30-4) but 0.96.20.2-2.1 is installed
xdg-desktop-portal-gnome : Depends: xdg-desktop-portal (>= 1.15.0) but 1.8.1-1 is installed
xdg-desktop-portal-kde : Depends: qtbase-abi-5-15-8
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
해결책은 없을까요...?
업데이트: 도움을 받을 방법이 없습니다. 방금 데비안 12를 처음부터 설치했습니다. 다들 감사 해요
답변1
이번 주에 2개의 Debian VM(둘 다 KDE를 데스크탑 환경으로 실행)을 업그레이드하려고 할 때 동일한 오류가 발생했습니다.
나에게 문제를 해결한 것은 먼저 다음을 실행하는 것이었습니다.
dpkg -i --force-overwrite /var/cache/apt/archives/software-properties-qt_0.99.30-4_all.deb
이것했다위 패키지를 설치했지만 다른 오류가 발생했습니다.
나는 계속했다:
apt --fix-broken install
이후:
apt full-upgrade
이 단계에서는 OS가 완전히 업그레이드되었습니다(즉, 다시 실행할 때 더 이상 경고나 오류가 발생하지 않음 apt full-upgrade
).
나는 사용하지 않는 오래된 패키지를 제거하기 위해 이것을 따랐습니다.
apt --purge autoremove
그러나 실제로 KDE DE를 사용하고 있다면 어떤 이유에서인지 이 단계에서 업그레이드로 인해 KDE 데스크탑 환경이 여전히 손상될 수 있습니다. 지금 바로:
첫 번째 가상 머신에서 재부팅 후 시스템이 그래픽 대상에 도달하면 검은색 화면이 나타나고 어떤 키 조합에도 응답하지 않습니다. 그래픽 환경으로 들어가려면 이전 커널로 재부팅하고 Gnome DE를 선택해야 했습니다.
두 번째 가상 머신에서는 로그인 화면이 표시되었지만 KDE는 없고 Gnome DE 옵션만 사용할 수 있었습니다.
따라서 마지막 문제를 피하기 위해 KDE를 다시 설치할 수 있습니다다시 시작하기 전에:
apt install task-kde-desktop
PS 마지막 단계를 건너뛰고 KDE가 손상되는 문제가 있는 경우 재부팅 후 KDE를 다시 설치하고 어떻게든 시스템으로 돌아가야 할 수도 있습니다. 또는 이전에 설치한 대체 DE를 통해(제가 그랬던 것처럼 ) GRUB 메뉴 --> 고급 옵션 --> 복구 모드를 선택한 다음 세션에 로그인한 후 해당 모드로 runlevel 1
전환 하면 누락된 패키지를 설치할 수 있는 네트워크 액세스 권한을 얻을 수 있습니다.runlevel 3
systemctl isolate multi-user.target