満たされていない依存関係が適切です。パッケージなしで「apt --fix-broken install」を試してください(またはソリューションを指定)。

満たされていない依存関係が適切です。パッケージなしで「apt --fix-broken install」を試してください(またはソリューションを指定)。

指示に従って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).

解決策はないでしょうか…?

更新:助けを得る方法はありません。私はDebian 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デスクトップ環境がまだ破損する可能性があります。今すぐ:

  1. 最初の仮想マシンで再起動後、システムがグラフィックスターゲットに到達すると黒い画面が表示され、どのキーの組み合わせにも応答しません。グラフィック環境に入るには、以前のカーネルで再起動し、Gnome DEを選択する必要がありました。

  2. 2番目の仮想マシンではログイン画面が表示されましたが、KDEはなく、Gnome DEオプションのみが利用可能でした。

したがって、最後の問題を回避するためにKDEを再インストールすることができます再起動する前に:

apt install task-kde-desktop

PS最後の手順をスキップしてKDEが破損する問題がある場合は、再起動後にKDEを再インストールして何らかの方法でシステムに戻る必要があるかもしれません。または、以前にインストールした代替DEを介して(私がそうでしたように)GRUBメニュー - >詳細オプション - >リカバリモードを選択し、セッションにログインしてそのモードに切り替えると、不足しているrunlevel 1パッケージをインストールするためのネットワークアクセス権得ることができます。runlevel 3systemctl isolate multi-user.target

関連情報