Unable to upgrade from 17.10 to 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












When I run the command to upgrade to Ubuntu 18.04



/usr/lib/ubuntu-release-upgrader/check-new-release-gtk


I get the following error :



/usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
Checking for a new Ubuntu release
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk
Segmentation fault (core dumped)


I am not able to understand how to resolve the above error.







share|improve this question























    up vote
    0
    down vote

    favorite












    When I run the command to upgrade to Ubuntu 18.04



    /usr/lib/ubuntu-release-upgrader/check-new-release-gtk


    I get the following error :



    /usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk
    Checking for a new Ubuntu release
    Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
    Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
    /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, Gdk
    Segmentation fault (core dumped)


    I am not able to understand how to resolve the above error.







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When I run the command to upgrade to Ubuntu 18.04



      /usr/lib/ubuntu-release-upgrader/check-new-release-gtk


      I get the following error :



      /usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import Gtk
      Checking for a new Ubuntu release
      Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
      Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
      /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import Gtk, Gdk
      Segmentation fault (core dumped)


      I am not able to understand how to resolve the above error.







      share|improve this question











      When I run the command to upgrade to Ubuntu 18.04



      /usr/lib/ubuntu-release-upgrader/check-new-release-gtk


      I get the following error :



      /usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import Gtk
      Checking for a new Ubuntu release
      Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
      Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
      /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
      from gi.repository import Gtk, Gdk
      Segmentation fault (core dumped)


      I am not able to understand how to resolve the above error.









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 1 at 15:02









      Bi613

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You can upgrade to 18.04 by following this article or just follow my answer. I copied only the necessary parts from the article linked above, so it becomes a little bit easier.

          Here we go;



          first run these commands, so ubuntu is fully updated. This makes the upgrading to 18.04 easier.



          $ sudo apt update 
          $ sudo apt upgrade
          $ sudo apt dist-upgrade
          $ sudo apt autoremove


          Then we can start the upgrade. By using the following commands;



          $ sudo apt install update-manager-core
          $ sudo do-release-upgrade -d


          You should see the upgrade start by now. For further info take a look at the article.



          source: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver






          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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1042668%2funable-to-upgrade-from-17-10-to-18-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            You can upgrade to 18.04 by following this article or just follow my answer. I copied only the necessary parts from the article linked above, so it becomes a little bit easier.

            Here we go;



            first run these commands, so ubuntu is fully updated. This makes the upgrading to 18.04 easier.



            $ sudo apt update 
            $ sudo apt upgrade
            $ sudo apt dist-upgrade
            $ sudo apt autoremove


            Then we can start the upgrade. By using the following commands;



            $ sudo apt install update-manager-core
            $ sudo do-release-upgrade -d


            You should see the upgrade start by now. For further info take a look at the article.



            source: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver






            share|improve this answer

























              up vote
              0
              down vote













              You can upgrade to 18.04 by following this article or just follow my answer. I copied only the necessary parts from the article linked above, so it becomes a little bit easier.

              Here we go;



              first run these commands, so ubuntu is fully updated. This makes the upgrading to 18.04 easier.



              $ sudo apt update 
              $ sudo apt upgrade
              $ sudo apt dist-upgrade
              $ sudo apt autoremove


              Then we can start the upgrade. By using the following commands;



              $ sudo apt install update-manager-core
              $ sudo do-release-upgrade -d


              You should see the upgrade start by now. For further info take a look at the article.



              source: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                You can upgrade to 18.04 by following this article or just follow my answer. I copied only the necessary parts from the article linked above, so it becomes a little bit easier.

                Here we go;



                first run these commands, so ubuntu is fully updated. This makes the upgrading to 18.04 easier.



                $ sudo apt update 
                $ sudo apt upgrade
                $ sudo apt dist-upgrade
                $ sudo apt autoremove


                Then we can start the upgrade. By using the following commands;



                $ sudo apt install update-manager-core
                $ sudo do-release-upgrade -d


                You should see the upgrade start by now. For further info take a look at the article.



                source: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver






                share|improve this answer













                You can upgrade to 18.04 by following this article or just follow my answer. I copied only the necessary parts from the article linked above, so it becomes a little bit easier.

                Here we go;



                first run these commands, so ubuntu is fully updated. This makes the upgrading to 18.04 easier.



                $ sudo apt update 
                $ sudo apt upgrade
                $ sudo apt dist-upgrade
                $ sudo apt autoremove


                Then we can start the upgrade. By using the following commands;



                $ sudo apt install update-manager-core
                $ sudo do-release-upgrade -d


                You should see the upgrade start by now. For further info take a look at the article.



                source: https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 2 at 10:48









                goedt

                527




                527






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042668%2funable-to-upgrade-from-17-10-to-18-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491