Upgrade ubuntu to a specific release

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











up vote
1
down vote

favorite












I'm currently on Ubuntu 16.04 LTS. As of writing this, 18.04 LTS is available. However, I do not wish to upgrade to it.
Instead, I would like to upgrade to 17.04 LTS.



I've done:



sudo apt update
sudo apt dist-upgrade


Many tutorials suggest



sudo do-release-upgrade


as the next step. But I believe that would upgrade to the latest distro and not the target 17.04.
How do I go about this?










share|improve this question

























    up vote
    1
    down vote

    favorite












    I'm currently on Ubuntu 16.04 LTS. As of writing this, 18.04 LTS is available. However, I do not wish to upgrade to it.
    Instead, I would like to upgrade to 17.04 LTS.



    I've done:



    sudo apt update
    sudo apt dist-upgrade


    Many tutorials suggest



    sudo do-release-upgrade


    as the next step. But I believe that would upgrade to the latest distro and not the target 17.04.
    How do I go about this?










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm currently on Ubuntu 16.04 LTS. As of writing this, 18.04 LTS is available. However, I do not wish to upgrade to it.
      Instead, I would like to upgrade to 17.04 LTS.



      I've done:



      sudo apt update
      sudo apt dist-upgrade


      Many tutorials suggest



      sudo do-release-upgrade


      as the next step. But I believe that would upgrade to the latest distro and not the target 17.04.
      How do I go about this?










      share|improve this question













      I'm currently on Ubuntu 16.04 LTS. As of writing this, 18.04 LTS is available. However, I do not wish to upgrade to it.
      Instead, I would like to upgrade to 17.04 LTS.



      I've done:



      sudo apt update
      sudo apt dist-upgrade


      Many tutorials suggest



      sudo do-release-upgrade


      as the next step. But I believe that would upgrade to the latest distro and not the target 17.04.
      How do I go about this?







      ubuntu upgrade dist-upgrade






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 17 at 7:13









      blueren

      1083




      1083




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          To answer your question, I don’t think Ubuntu officially supports upgrades to releases other than either the latest release or the latest LTS. It might be possible to upgrade to a specific release by changing the appropriate code name in /etc/apt/sources.list and running apt update && apt dist-upgrade, but that won’t take into account any upgrade step performed by the do-release-upgrade tool (if any).



          However in your specific case, 17.04 isn’t an LTS, and is already out of support. 16.04 is still supported; if you don’t want to upgrade to 18.04 you should stick with 16.04.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f463126%2fupgrade-ubuntu-to-a-specific-release%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
            3
            down vote



            accepted










            To answer your question, I don’t think Ubuntu officially supports upgrades to releases other than either the latest release or the latest LTS. It might be possible to upgrade to a specific release by changing the appropriate code name in /etc/apt/sources.list and running apt update && apt dist-upgrade, but that won’t take into account any upgrade step performed by the do-release-upgrade tool (if any).



            However in your specific case, 17.04 isn’t an LTS, and is already out of support. 16.04 is still supported; if you don’t want to upgrade to 18.04 you should stick with 16.04.






            share|improve this answer
























              up vote
              3
              down vote



              accepted










              To answer your question, I don’t think Ubuntu officially supports upgrades to releases other than either the latest release or the latest LTS. It might be possible to upgrade to a specific release by changing the appropriate code name in /etc/apt/sources.list and running apt update && apt dist-upgrade, but that won’t take into account any upgrade step performed by the do-release-upgrade tool (if any).



              However in your specific case, 17.04 isn’t an LTS, and is already out of support. 16.04 is still supported; if you don’t want to upgrade to 18.04 you should stick with 16.04.






              share|improve this answer






















                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                To answer your question, I don’t think Ubuntu officially supports upgrades to releases other than either the latest release or the latest LTS. It might be possible to upgrade to a specific release by changing the appropriate code name in /etc/apt/sources.list and running apt update && apt dist-upgrade, but that won’t take into account any upgrade step performed by the do-release-upgrade tool (if any).



                However in your specific case, 17.04 isn’t an LTS, and is already out of support. 16.04 is still supported; if you don’t want to upgrade to 18.04 you should stick with 16.04.






                share|improve this answer












                To answer your question, I don’t think Ubuntu officially supports upgrades to releases other than either the latest release or the latest LTS. It might be possible to upgrade to a specific release by changing the appropriate code name in /etc/apt/sources.list and running apt update && apt dist-upgrade, but that won’t take into account any upgrade step performed by the do-release-upgrade tool (if any).



                However in your specific case, 17.04 isn’t an LTS, and is already out of support. 16.04 is still supported; if you don’t want to upgrade to 18.04 you should stick with 16.04.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 17 at 7:42









                Stephen Kitt

                145k22319385




                145k22319385



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f463126%2fupgrade-ubuntu-to-a-specific-release%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?