19.04 へのアップグレード後にパッケージ システムが壊れる

19.04 へのアップグレード後にパッケージ システムが壊れる

昨日、システム インボックス アップグレード (18.04 -> 18.10、次に 18.10 -> 19.04) を 2 回実行しました。

今日、壊れたパッケージ システムがあります:

    sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libkf5configgui5 : Depends: libqt5gui5 (>= 5.8.0~) but it is not installed or
                             libqt5gui5-gles (>= 5.8.0~) but it is not installed
 libkf5guiaddons5 : Depends: libqt5gui5 (>= 5.11.0~rc1) but it is not installed or
                             libqt5gui5-gles (>= 5.11.0~rc1) but it is not installed
 libkf5kdcraw5 : Depends: libqt5gui5 (>= 5.6.1~) but it is not installed or
                          libqt5gui5-gles (>= 5.6.1~) but it is not installed
 libkf5kexiv2-15.0.0 : Depends: libqt5gui5 (>= 5.2.0) but it is not installed or
                                libqt5gui5-gles (>= 5.2.0) but it is not installed
 libkf5syntaxhighlighting5 : Depends: libqt5gui5 (>= 5.8.0~) but it is not installed or
                                      libqt5gui5-gles (>= 5.8.0~) but it is not installed
 libkf5waylandclient5 : Depends: libqt5gui5 (>= 5.8.0~) but it is not installed or
                                 libqt5gui5-gles (>= 5.8.0~) but it is not installed
 libpoppler-qt5-1 : Depends: libqt5gui5 (>= 5.2.0) but it is not installed or
                             libqt5gui5-gles (>= 5.2.0) but it is not installed
 libqt5help5 : Depends: libqt5gui5 (>= 5.0.2) but it is not installed or
                        libqt5gui5-gles (>= 5.0.2) but it is not installed
 libqt5opengl5 : Depends: libqt5gui5 (>= 5.1.0) but it is not installed
                 Depends: libqt5gui5 (>= 5.9.0~beta) but it is not installed or
                          libqt5gui5-gles (>= 5.9.0~beta) but it is not installed
 libqt5printsupport5 : Depends: libqt5gui5 (>= 5.11.0~rc1) but it is not installed or
                                libqt5gui5-gles (>= 5.11.0~rc1) but it is not installed
 libqt5quick5 : Depends: libqt5gui5 (>= 5.1.0) but it is not installed
                Depends: libqt5gui5 (>= 5.12.2) but it is not installed or
                         libqt5gui5-gles (>= 5.12.2) but it is not installed
 libqt5quickcontrols2-5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                   libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5quicktemplates2-5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                    libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5quickwidgets5 : Depends: libqt5gui5 (>= 5.8.0) but it is not installed or
                                libqt5gui5-gles (>= 5.8.0) but it is not installed
 libqt5svg5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                       libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5waylandclient5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                 libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5waylandcompositor5 : Depends: libgl1 but it is not installed
                            Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                     libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5webenginecore5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                 libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5webenginewidgets5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                    libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqt5webkit5 : Depends: libqt5gui5 (>= 5.9.0~beta) but it is not installed or
                          libqt5gui5-gles (>= 5.9.0~beta) but it is not installed
 libqt5widgets5 : Depends: libqt5gui5 (>= 5.12.2) but it is not installed or
                           libqt5gui5-gles (>= 5.12.2) but it is not installed
 libqt5x11extras5 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                             libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 libqtwebkit4 : Depends: libgl1-mesa-glx but it is not installed or
                         libgl1 but it is not installed
                Depends: libqt4-opengl (>= 4:4.5.3) but it is not installed
 librenaissance0 : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 librenaissance0-dev : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 libva-glx2 : Depends: libgl1 but it is not installed
 libwebkitgtk-1.0-0 : Depends: libgl1 but it is not installed
 libwxgtk3.0-0v5 : Depends: libgl1 but it is not installed
 libwxgtk3.0-gtk3-0v5 : Depends: libgl1 but it is not installed
 lusernet.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 lynkeos.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 lyx : Depends: libqt5gui5 (>= 5.8.0) but it is not installed
 mesa-utils : Depends: libgl1 but it is not installed
 mpdcon.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 openimageio-tools : Depends: libgl1 but it is not installed
                     Depends: libqt5gui5 (>= 5.2.0) but it is not installed
 paje.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 phantomjs : Depends: libqt5gui5 (>= 5.0.2) but it is not installed or
                      libqt5gui5-gles (>= 5.0.2) but it is not installed
 pikopixel.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 plopfolio.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 poe.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 price.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 projectcenter.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
                     Recommends: gorm.app but it is not installed
 python-pyqt5-dbg : Depends: python-pyqt5 (= 5.12.1+dfsg-1) but it is not installed
                    Depends: libqt5designer5 (>= 5.9.1) but it is not installed
                    Depends: libqt5gui5 (>= 5.1.0) but it is not installed
                    Depends: libqt5gui5 (>= 5.12.2) but it is not installed or
                             libqt5gui5-gles (>= 5.12.2) but it is not installed
 qbittorrent : Depends: libqt5gui5 (>= 5.8.0) but it is not installed
 qml-module-qtgraphicaleffects : Depends: qml-module-qtquick2 but it is not installed
                                 Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                          libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qml-module-qtquick-controls : Depends: qml-module-qtquick2 but it is not installed
                               Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                        libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qml-module-qtquick-controls2 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                         libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qml-module-qtquick-dialogs : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                       libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qml-module-qtquick-layouts : Depends: libqt5gui5 (>= 5.5.0) but it is not installed or
                                       libqt5gui5-gles (>= 5.5.0) but it is not installed
 qml-module-qtquick-privatewidgets : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                              libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qml-module-qtquick-templates2 : Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                                          libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 qt5-gtk-platformtheme : Depends: libqt5gui5 (= 5.12.2+dfsg-4ubuntu1) but it is not installed or
                                  libqt5gui5-gles (>= 5.12.2+dfsg) but it is not installed
 qt5-qmltooling-plugins : Depends: libqt5gui5 (>= 5.10.0) but it is not installed or
                                   libqt5gui5-gles (>= 5.10.0) but it is not installed
 qtwayland5 : Depends: libgl1 but it is not installed
              Depends: libqt5gui5 (>= 5.12.2+dfsg~) but it is not installed or
                       libqt5gui5-gles (>= 5.12.2+dfsg~) but it is not installed
 systempreferences.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 talksoup.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 terminal.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 textedit.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 timemon.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 virtualbox-5.2 : Depends: libgl1 but it is not installed
                  Depends: libqt5gui5 (>= 5.4.0) but it is not installed
 vlc-plugin-qt : Depends: libqt5gui5 (>= 5.8.0) but it is not installed
 vlc-plugin-video-output : Depends: libgl1 but it is not installed
 volumecontrol.app : Depends: gnustep-back0.27 (>= 0.27.0) but it is not installed
 vprerex : Depends: libqt5gui5 (>= 5.0.2) but it is not installed
 x11-utils : Depends: libgl1 but it is not installed
 xserver-xorg-core : Depends: libgl1 but it is not installed
                     Recommends: libgl1-mesa-dri (>= 7.10.2-4) but it is not installed
 zenity : Depends: libwebkit2gtk-4.0-37 (>= 2.15.1) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

sudo apt -f install、 、を試しましたsudo dpkg --configure -aが、sudo apt --fix-broken installすべて同じ出力になりました。

誰かが私に正しい方向を指し示してくれるなら、感謝します。

答え1

sudo apt download libglapi-mesa
sudo dpkg -i libglapi-mesa-*.deb

deb ファイル ( ) の Ubuntu バージョンが、マシンで実行されているものと同じであることを確認してください。そうでない場合は、関連する PPAのみを残して編集し、以前のディストリビューションの PPA を削除して、上記のコマンドを実行する libglapi-mesa_19.0.8-0ubuntu0~19.04.1_amd64.deb必要があります。/etc/apt/sources.listdisco

libqt5gui5との依存関係に関しても同様の問題が発生しました。を使用してlibgl1インストールしようとすると、出力の先頭にその依存関係が表示されます。 依存関係をインストールしようとして、再帰的にルートに移動してみてください。 はインストールされていますが、Ubuntu の以前のバージョンからのものになります (少なくとも私の場合はそうですが、あなたの場合は他のパッケージが競合している可能性があります)。 libgl1sudo apt install libgl1libglapi-mesa

答え2

返事が遅くなって申し訳ありません。/home を別のパーティションに残しておくことを事前に考えていたことに気づいたので、OS インストールを消去し、19.04 を新規インストールして、/home を再ポイントしました。.config 内のファイルはホーム フォルダに保持されていたため、いくつかの追加パッケージを再インストールすると、Linux を壊したときに残しておいた部分をデバッグするよりもはるかに短い時間で、完全に動作するシステムになりました :)

読んでくださった皆様、特に返信してくださった皆様に感謝します。

宜しくお願い致します。 -レイ

関連情報