19.04로 업그레이드한 후 패키지 시스템이 손상되었습니다.

19.04로 업그레이드한 후 패키지 시스템이 손상되었습니다.

어제 2번의 시스템 인박스 업그레이드(18.04->18.10, 그 다음 18.10->19.04)를 수행했습니다.

오늘은 패키지 시스템이 깨졌습니다.

    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 -asudo apt --fix-broken install

누구든지 올바른 방향으로 나를 가리킬 수 있다면 감사하겠습니다.

답변1

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

deb 파일( )의 Ubuntu 버전이 libglapi-mesa_19.0.8-0ubuntu0~19.04.1_amd64.deb컴퓨터에서 실행 중인 것과 동일한지 확인하세요. 그렇지 않은 경우 관련 ppa /etc/apt/sources.list만 유지하면서 편집 disco하고 이전 배포판의 ppa를 제거하고 위 명령을 실행해야 할 수도 있습니다.

libqt5gui5및 의 종속성과 비슷한 문제가 있었습니다 libgl1. libgl1사용 하여 설치하려고 하면 sudo apt install libgl1출력 상단에서 해당 종속성을 찾을 수 있습니다. 종속성을 설치하여 재귀적으로 루트로 이동해 보십시오. 설치되어 있지만 이전 버전의 Ubuntu에서 찾을 수 있습니다 libglapi-mesa(적어도 제 경우에는 다른 패키지가 충돌하는 것을 발견할 수 있습니다).

답변2

답변이 늦어진 것에 대해 사과하면서 /home을 별도의 파티션에 보관할 생각이 있었다는 것을 깨달았습니다. 그래서 간단히 OS 설치를 지우고 19.04를 새로 설치한 다음 /home을 다시 지정했습니다. .config의 내 파일이 내 홈 폴더에 유지되었으므로 일부 추가 패키지를 다시 설치하면 Linux를 망가뜨렸을 때 유지해야 했던 부분을 디버깅하는 것보다 훨씬 짧은 시간에 완벽하게 작동하는 시스템을 갖게 되었습니다. :)

읽어주신 모든 분들, 특히 답변해주신 분들께 감사드립니다.

최고야, -레이

관련 정보