Update woes: libstdc++6











up vote
1
down vote

favorite












I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.



Any help?



; sudo apt upgrade gcc g++ cpp build-essential                                 
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Unmet dependencies. Try using -f.


and



; sudo apt remove gcc-5-base                                                    
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


and



; sudo apt-get -f install                                                       
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies


PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.










share|improve this question




























    up vote
    1
    down vote

    favorite












    I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.



    Any help?



    ; sudo apt upgrade gcc g++ cpp build-essential                                 
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run ‘apt-get -f install’ to correct these.
    The following packages have unmet dependencies.
    libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
    E: Unmet dependencies. Try using -f.


    and



    ; sudo apt remove gcc-5-base                                                    
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
    gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
    libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
    libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    and



    ; sudo apt-get -f install                                                       
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies.
    libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies


    PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.



      Any help?



      ; sudo apt upgrade gcc g++ cpp build-essential                                 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run ‘apt-get -f install’ to correct these.
      The following packages have unmet dependencies.
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
      E: Unmet dependencies. Try using -f.


      and



      ; sudo apt remove gcc-5-base                                                    
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
      libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      and



      ; sudo apt-get -f install                                                       
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... failed.
      The following packages have unmet dependencies.
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
      E: Unable to correct dependencies


      PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.










      share|improve this question















      I cannot seem to be able to update libstdc++6. I suspect some PPA installed it and now I cannot get ride of it.



      Any help?



      ; sudo apt upgrade gcc g++ cpp build-essential                                 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run ‘apt-get -f install’ to correct these.
      The following packages have unmet dependencies.
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
      E: Unmet dependencies. Try using -f.


      and



      ; sudo apt remove gcc-5-base                                                    
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      gcj-5-jre-lib : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
      libgcj16 : Depends: gcc-5-base (>= 5.2.1-23) but it is not going to be installed
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but it is not going to be installed
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      and



      ; sudo apt-get -f install                                                       
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... failed.
      The following packages have unmet dependencies.
      libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.10) but 5.4.1-2ubuntu1~12.04 is installed
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
      E: Unable to correct dependencies


      PS: This is weird: lsb_release -a says that I am running Ubuntu 16.04.5 LTS. However, I just did an upgrade to 18.04… Which I think just upgraded to 16… That kinda makes sense. Tags edited.







      16.04 apt do-release-upgrade






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 at 10:00

























      asked Nov 26 at 9:18









      Sardathrion

      1742318




      1742318






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I appeared to have worked it out:




          1. Download the package for libstdc++.

          2. Downgrade gcc via apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10.

          3. Install manually: dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.


          At least the errors have gone away.






          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%2f1096106%2fupdate-woes-libstdc6%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













            I appeared to have worked it out:




            1. Download the package for libstdc++.

            2. Downgrade gcc via apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10.

            3. Install manually: dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.


            At least the errors have gone away.






            share|improve this answer

























              up vote
              0
              down vote













              I appeared to have worked it out:




              1. Download the package for libstdc++.

              2. Downgrade gcc via apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10.

              3. Install manually: dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.


              At least the errors have gone away.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I appeared to have worked it out:




                1. Download the package for libstdc++.

                2. Downgrade gcc via apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10.

                3. Install manually: dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.


                At least the errors have gone away.






                share|improve this answer












                I appeared to have worked it out:




                1. Download the package for libstdc++.

                2. Downgrade gcc via apt-get install gcc-5-base=5.4.0-6ubuntu1~16.04.10.

                3. Install manually: dpkg -i libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb.


                At least the errors have gone away.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 at 10:10









                Sardathrion

                1742318




                1742318






























                    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%2f1096106%2fupdate-woes-libstdc6%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

                    Mont Emei

                    Province de Neuquén

                    Journaliste