How to resolve package dependencies after failed upgrade to Ubuntu 18.04?











up vote
0
down vote

favorite
1












I tried to upgrade an Ubuntu machine from 16.04 to 18.04. Unfortunately the upgrade process was interrupted due to unrecoverable problems with package dependencies. I tried to fix this with sudo apt install -f but the problem can't apparently cant be resolved by apt. I get:



sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
checkbox-converged : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar
gdm3 : Hängt ab von: libgdm1 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
Hängt ab von: gir1.2-gdm-1.0 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
gnome-settings-daemon : Hängt ab von: gnome-settings-daemon-schemas (= 3.20.1-2ubuntu1~ubuntu16.04.1) aber 3.28.1-0ubuntu1 ist installiert
libc-dev-bin : Hängt ab von: libc6 (< 2.24) aber 2.27-3ubuntu1 ist installiert
libc6-dbg : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libc6-dev : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libqt5quick5 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5gui5 (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5qml5 (>= 5.9.5) aber 5.5.1-2ubuntu6 ist installiert
Hängt ab von: qtbase-abi-5-9-5
Hängt ab von: qtdeclarative-abi-5-9-5
libwayland-egl1-mesa : Hängt ab von: libegl1 ist aber nicht installiert
qml-module-qtquick-window2 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Hängt ab von: qml-module-ubuntu-components ist aber nicht installierbar
Hängt ab von: libubuntugestures5 ist aber nicht installierbar
qml-module-ubuntu-web : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) ist aber nicht installierbar
unity-webapps-qml : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles ist aber nicht installierbar
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
E: Abhängigkeiten konnten nicht korrigiert werden.


I tried to remove some packages manually to resolve the conflicts, but nothing worked. Can somebody give me a hint, for an more radical approach to resolve this.



Please don't suggest to do a complete new installation. We aren't in the Windows world here. I never did a complete new installation since I switched to Ubuntu in 2008, an I'm not in the mood to do it now...










share|improve this question






















  • Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
    – doug
    Apr 28 at 11:58















up vote
0
down vote

favorite
1












I tried to upgrade an Ubuntu machine from 16.04 to 18.04. Unfortunately the upgrade process was interrupted due to unrecoverable problems with package dependencies. I tried to fix this with sudo apt install -f but the problem can't apparently cant be resolved by apt. I get:



sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
checkbox-converged : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar
gdm3 : Hängt ab von: libgdm1 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
Hängt ab von: gir1.2-gdm-1.0 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
gnome-settings-daemon : Hängt ab von: gnome-settings-daemon-schemas (= 3.20.1-2ubuntu1~ubuntu16.04.1) aber 3.28.1-0ubuntu1 ist installiert
libc-dev-bin : Hängt ab von: libc6 (< 2.24) aber 2.27-3ubuntu1 ist installiert
libc6-dbg : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libc6-dev : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libqt5quick5 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5gui5 (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5qml5 (>= 5.9.5) aber 5.5.1-2ubuntu6 ist installiert
Hängt ab von: qtbase-abi-5-9-5
Hängt ab von: qtdeclarative-abi-5-9-5
libwayland-egl1-mesa : Hängt ab von: libegl1 ist aber nicht installiert
qml-module-qtquick-window2 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Hängt ab von: qml-module-ubuntu-components ist aber nicht installierbar
Hängt ab von: libubuntugestures5 ist aber nicht installierbar
qml-module-ubuntu-web : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) ist aber nicht installierbar
unity-webapps-qml : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles ist aber nicht installierbar
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
E: Abhängigkeiten konnten nicht korrigiert werden.


I tried to remove some packages manually to resolve the conflicts, but nothing worked. Can somebody give me a hint, for an more radical approach to resolve this.



Please don't suggest to do a complete new installation. We aren't in the Windows world here. I never did a complete new installation since I switched to Ubuntu in 2008, an I'm not in the mood to do it now...










share|improve this question






















  • Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
    – doug
    Apr 28 at 11:58













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I tried to upgrade an Ubuntu machine from 16.04 to 18.04. Unfortunately the upgrade process was interrupted due to unrecoverable problems with package dependencies. I tried to fix this with sudo apt install -f but the problem can't apparently cant be resolved by apt. I get:



sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
checkbox-converged : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar
gdm3 : Hängt ab von: libgdm1 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
Hängt ab von: gir1.2-gdm-1.0 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
gnome-settings-daemon : Hängt ab von: gnome-settings-daemon-schemas (= 3.20.1-2ubuntu1~ubuntu16.04.1) aber 3.28.1-0ubuntu1 ist installiert
libc-dev-bin : Hängt ab von: libc6 (< 2.24) aber 2.27-3ubuntu1 ist installiert
libc6-dbg : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libc6-dev : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libqt5quick5 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5gui5 (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5qml5 (>= 5.9.5) aber 5.5.1-2ubuntu6 ist installiert
Hängt ab von: qtbase-abi-5-9-5
Hängt ab von: qtdeclarative-abi-5-9-5
libwayland-egl1-mesa : Hängt ab von: libegl1 ist aber nicht installiert
qml-module-qtquick-window2 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Hängt ab von: qml-module-ubuntu-components ist aber nicht installierbar
Hängt ab von: libubuntugestures5 ist aber nicht installierbar
qml-module-ubuntu-web : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) ist aber nicht installierbar
unity-webapps-qml : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles ist aber nicht installierbar
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
E: Abhängigkeiten konnten nicht korrigiert werden.


I tried to remove some packages manually to resolve the conflicts, but nothing worked. Can somebody give me a hint, for an more radical approach to resolve this.



Please don't suggest to do a complete new installation. We aren't in the Windows world here. I never did a complete new installation since I switched to Ubuntu in 2008, an I'm not in the mood to do it now...










share|improve this question













I tried to upgrade an Ubuntu machine from 16.04 to 18.04. Unfortunately the upgrade process was interrupted due to unrecoverable problems with package dependencies. I tried to fix this with sudo apt install -f but the problem can't apparently cant be resolved by apt. I get:



sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... fehlgeschlagen.
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
checkbox-converged : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar
gdm3 : Hängt ab von: libgdm1 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
Hängt ab von: gir1.2-gdm-1.0 (= 3.20.1-1ubuntu2~ubuntu16.04.1) aber 3.28.0-0ubuntu1 ist installiert
gnome-settings-daemon : Hängt ab von: gnome-settings-daemon-schemas (= 3.20.1-2ubuntu1~ubuntu16.04.1) aber 3.28.1-0ubuntu1 ist installiert
libc-dev-bin : Hängt ab von: libc6 (< 2.24) aber 2.27-3ubuntu1 ist installiert
libc6-dbg : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libc6-dev : Hängt ab von: libc6 (= 2.23-0ubuntu10) aber 2.27-3ubuntu1 ist installiert
libqt5quick5 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5gui5 (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: libqt5qml5 (>= 5.9.5) aber 5.5.1-2ubuntu6 ist installiert
Hängt ab von: qtbase-abi-5-9-5
Hängt ab von: qtdeclarative-abi-5-9-5
libwayland-egl1-mesa : Hängt ab von: libegl1 ist aber nicht installiert
qml-module-qtquick-window2 : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Hängt ab von: libqt5core5a (>= 5.9.0~beta) aber 5.5.1+dfsg-16ubuntu7.5 ist installiert
Hängt ab von: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Hängt ab von: qml-module-ubuntu-components ist aber nicht installierbar
Hängt ab von: libubuntugestures5 ist aber nicht installierbar
qml-module-ubuntu-web : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) ist aber nicht installierbar
unity-webapps-qml : Hängt ab von: qtdeclarative5-ubuntu-ui-toolkit-plugin ist aber nicht installierbar oder
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles ist aber nicht installierbar
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
E: Abhängigkeiten konnten nicht korrigiert werden.


I tried to remove some packages manually to resolve the conflicts, but nothing worked. Can somebody give me a hint, for an more radical approach to resolve this.



Please don't suggest to do a complete new installation. We aren't in the Windows world here. I never did a complete new installation since I switched to Ubuntu in 2008, an I'm not in the mood to do it now...







apt package-management upgrade dpkg 18.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 28 at 10:47









user5950

2,24363160




2,24363160












  • Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
    – doug
    Apr 28 at 11:58


















  • Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
    – doug
    Apr 28 at 11:58
















Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
– doug
Apr 28 at 11:58




Not a completely matter of removing, you'll need to upgrade those unremovable packages that are currently much older versions. You may need to aquire them manually. As far as never doing a fresh install since 2008, we'll at this point garbage in, garbage out
– doug
Apr 28 at 11:58










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










I found a very easy solution to that problem: I installed aptitude. As my packet management was blocked by the above mentioned conflicts I had to do so, by manually grabbing the package and all its dependencies from here: https://packages.debian.org/search?keywords=aptitude



You can simply install them, by putting them all in a custom folder an execute:



dpkg -i *.deb


After this was done, I could solve the conflicts by:



sudo aptitude upgrade


Holly cow! Great experience!






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029160%2fhow-to-resolve-package-dependencies-after-failed-upgrade-to-ubuntu-18-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    I found a very easy solution to that problem: I installed aptitude. As my packet management was blocked by the above mentioned conflicts I had to do so, by manually grabbing the package and all its dependencies from here: https://packages.debian.org/search?keywords=aptitude



    You can simply install them, by putting them all in a custom folder an execute:



    dpkg -i *.deb


    After this was done, I could solve the conflicts by:



    sudo aptitude upgrade


    Holly cow! Great experience!






    share|improve this answer

























      up vote
      0
      down vote



      accepted










      I found a very easy solution to that problem: I installed aptitude. As my packet management was blocked by the above mentioned conflicts I had to do so, by manually grabbing the package and all its dependencies from here: https://packages.debian.org/search?keywords=aptitude



      You can simply install them, by putting them all in a custom folder an execute:



      dpkg -i *.deb


      After this was done, I could solve the conflicts by:



      sudo aptitude upgrade


      Holly cow! Great experience!






      share|improve this answer























        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        I found a very easy solution to that problem: I installed aptitude. As my packet management was blocked by the above mentioned conflicts I had to do so, by manually grabbing the package and all its dependencies from here: https://packages.debian.org/search?keywords=aptitude



        You can simply install them, by putting them all in a custom folder an execute:



        dpkg -i *.deb


        After this was done, I could solve the conflicts by:



        sudo aptitude upgrade


        Holly cow! Great experience!






        share|improve this answer












        I found a very easy solution to that problem: I installed aptitude. As my packet management was blocked by the above mentioned conflicts I had to do so, by manually grabbing the package and all its dependencies from here: https://packages.debian.org/search?keywords=aptitude



        You can simply install them, by putting them all in a custom folder an execute:



        dpkg -i *.deb


        After this was done, I could solve the conflicts by:



        sudo aptitude upgrade


        Holly cow! Great experience!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 30 at 23:40









        user5950

        2,24363160




        2,24363160






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029160%2fhow-to-resolve-package-dependencies-after-failed-upgrade-to-ubuntu-18-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei