Upgrade Ubuntu 14.04 LTS to 16.04 LTS apt problem












0















I want to upgrade my Ubuntu 14.04 LTS :



Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


To 16.04 LTS.



I ran the command do-release-upgrade but I got this error :



The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.


So I did a apt full-upgrade cause apt-get dist-upgrade didn't find any updates followed by apt-get update



And than I ran the release upgrade and I got hit by the same error.



P.S : The version of ubuntu now is like the first time 14.04 LTS, so no 14.04.X



What should I do ?










share|improve this question























  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list

    – user535733
    Feb 14 '18 at 13:13
















0















I want to upgrade my Ubuntu 14.04 LTS :



Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


To 16.04 LTS.



I ran the command do-release-upgrade but I got this error :



The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.


So I did a apt full-upgrade cause apt-get dist-upgrade didn't find any updates followed by apt-get update



And than I ran the release upgrade and I got hit by the same error.



P.S : The version of ubuntu now is like the first time 14.04 LTS, so no 14.04.X



What should I do ?










share|improve this question























  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list

    – user535733
    Feb 14 '18 at 13:13














0












0








0








I want to upgrade my Ubuntu 14.04 LTS :



Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


To 16.04 LTS.



I ran the command do-release-upgrade but I got this error :



The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.


So I did a apt full-upgrade cause apt-get dist-upgrade didn't find any updates followed by apt-get update



And than I ran the release upgrade and I got hit by the same error.



P.S : The version of ubuntu now is like the first time 14.04 LTS, so no 14.04.X



What should I do ?










share|improve this question














I want to upgrade my Ubuntu 14.04 LTS :



Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty


To 16.04 LTS.



I ran the command do-release-upgrade but I got this error :



The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed.


So I did a apt full-upgrade cause apt-get dist-upgrade didn't find any updates followed by apt-get update



And than I ran the release upgrade and I got hit by the same error.



P.S : The version of ubuntu now is like the first time 14.04 LTS, so no 14.04.X



What should I do ?







14.04 16.04 apt upgrade updates






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 14 '18 at 11:22









Moatez BouhdidMoatez Bouhdid

7017




7017













  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list

    – user535733
    Feb 14 '18 at 13:13



















  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list

    – user535733
    Feb 14 '18 at 13:13

















Please edit your question to show us the entire contents of your file /etc/apt/sources.list

– user535733
Feb 14 '18 at 13:13





Please edit your question to show us the entire contents of your file /etc/apt/sources.list

– user535733
Feb 14 '18 at 13:13










2 Answers
2






active

oldest

votes


















0














The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.



dpkg -i filename.deb #replace filename.deb with the actual file name





share|improve this answer


























  • and how can I do that in command ?

    – Moatez Bouhdid
    Feb 14 '18 at 11:38











  • dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

    – ravery
    Feb 14 '18 at 11:42





















0














Upgrading from Ubuntu 14.04 LTS or 16.04 LTS



To upgrade on a Desktop system, you will need to do the following from GUI:



Open the "Software & Updates" Setting in System Settings.



Select the 3rd Tab called "Updates".
Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version" if you are using 14.04, set it to "long-term support versions" if you are using 15.10 LTS.
Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
Software Updater should open up and tell you: New distribution release '16.04 LTS' is available.
Click Upgrade and follow the on-screen instructions.



To upgrade on a server system:



Install the update-manager-core package if it is not already installed.



Make sure the /etc/update-manager/release-upgrades is set to normal if you are using 14.04 LTS if you are using 14.04 LTS.
Launch the upgrade tool with the command



sudo do-release-upgrade.



Follow the on-screen instructions.
Note that the server upgrade will use GNU screen and automatically re-attach in case of dropped connection problems.



There are no offline upgrade options for Ubuntu Desktop and Ubuntu Server. Please ensure you have network connectivity to one of the official mirrors or to a locally accessible mirror and follow the instructions above.



OR



Follow this guide:



https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts






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',
    autoActivateHeartbeat: false,
    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%2f1006117%2fupgrade-ubuntu-14-04-lts-to-16-04-lts-apt-problem%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.



    dpkg -i filename.deb #replace filename.deb with the actual file name





    share|improve this answer


























    • and how can I do that in command ?

      – Moatez Bouhdid
      Feb 14 '18 at 11:38











    • dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

      – ravery
      Feb 14 '18 at 11:42


















    0














    The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.



    dpkg -i filename.deb #replace filename.deb with the actual file name





    share|improve this answer


























    • and how can I do that in command ?

      – Moatez Bouhdid
      Feb 14 '18 at 11:38











    • dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

      – ravery
      Feb 14 '18 at 11:42
















    0












    0








    0







    The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.



    dpkg -i filename.deb #replace filename.deb with the actual file name





    share|improve this answer















    The repo shows the needed version of apt. You can download it here https://packages.ubuntu.com/trusty/apt. Then install it using dpkg.



    dpkg -i filename.deb #replace filename.deb with the actual file name






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 14 '18 at 11:41

























    answered Feb 14 '18 at 11:27









    raveryravery

    5,49351132




    5,49351132













    • and how can I do that in command ?

      – Moatez Bouhdid
      Feb 14 '18 at 11:38











    • dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

      – ravery
      Feb 14 '18 at 11:42





















    • and how can I do that in command ?

      – Moatez Bouhdid
      Feb 14 '18 at 11:38











    • dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

      – ravery
      Feb 14 '18 at 11:42



















    and how can I do that in command ?

    – Moatez Bouhdid
    Feb 14 '18 at 11:38





    and how can I do that in command ?

    – Moatez Bouhdid
    Feb 14 '18 at 11:38













    dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

    – ravery
    Feb 14 '18 at 11:42







    dpkg -i filename.deb will install it. replace filename.deb with the actual file name. I'm not sure how to download it by command line possibly get

    – ravery
    Feb 14 '18 at 11:42















    0














    Upgrading from Ubuntu 14.04 LTS or 16.04 LTS



    To upgrade on a Desktop system, you will need to do the following from GUI:



    Open the "Software & Updates" Setting in System Settings.



    Select the 3rd Tab called "Updates".
    Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version" if you are using 14.04, set it to "long-term support versions" if you are using 15.10 LTS.
    Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
    Software Updater should open up and tell you: New distribution release '16.04 LTS' is available.
    Click Upgrade and follow the on-screen instructions.



    To upgrade on a server system:



    Install the update-manager-core package if it is not already installed.



    Make sure the /etc/update-manager/release-upgrades is set to normal if you are using 14.04 LTS if you are using 14.04 LTS.
    Launch the upgrade tool with the command



    sudo do-release-upgrade.



    Follow the on-screen instructions.
    Note that the server upgrade will use GNU screen and automatically re-attach in case of dropped connection problems.



    There are no offline upgrade options for Ubuntu Desktop and Ubuntu Server. Please ensure you have network connectivity to one of the official mirrors or to a locally accessible mirror and follow the instructions above.



    OR



    Follow this guide:



    https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts






    share|improve this answer




























      0














      Upgrading from Ubuntu 14.04 LTS or 16.04 LTS



      To upgrade on a Desktop system, you will need to do the following from GUI:



      Open the "Software & Updates" Setting in System Settings.



      Select the 3rd Tab called "Updates".
      Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version" if you are using 14.04, set it to "long-term support versions" if you are using 15.10 LTS.
      Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
      Software Updater should open up and tell you: New distribution release '16.04 LTS' is available.
      Click Upgrade and follow the on-screen instructions.



      To upgrade on a server system:



      Install the update-manager-core package if it is not already installed.



      Make sure the /etc/update-manager/release-upgrades is set to normal if you are using 14.04 LTS if you are using 14.04 LTS.
      Launch the upgrade tool with the command



      sudo do-release-upgrade.



      Follow the on-screen instructions.
      Note that the server upgrade will use GNU screen and automatically re-attach in case of dropped connection problems.



      There are no offline upgrade options for Ubuntu Desktop and Ubuntu Server. Please ensure you have network connectivity to one of the official mirrors or to a locally accessible mirror and follow the instructions above.



      OR



      Follow this guide:



      https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts






      share|improve this answer


























        0












        0








        0







        Upgrading from Ubuntu 14.04 LTS or 16.04 LTS



        To upgrade on a Desktop system, you will need to do the following from GUI:



        Open the "Software & Updates" Setting in System Settings.



        Select the 3rd Tab called "Updates".
        Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version" if you are using 14.04, set it to "long-term support versions" if you are using 15.10 LTS.
        Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
        Software Updater should open up and tell you: New distribution release '16.04 LTS' is available.
        Click Upgrade and follow the on-screen instructions.



        To upgrade on a server system:



        Install the update-manager-core package if it is not already installed.



        Make sure the /etc/update-manager/release-upgrades is set to normal if you are using 14.04 LTS if you are using 14.04 LTS.
        Launch the upgrade tool with the command



        sudo do-release-upgrade.



        Follow the on-screen instructions.
        Note that the server upgrade will use GNU screen and automatically re-attach in case of dropped connection problems.



        There are no offline upgrade options for Ubuntu Desktop and Ubuntu Server. Please ensure you have network connectivity to one of the official mirrors or to a locally accessible mirror and follow the instructions above.



        OR



        Follow this guide:



        https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts






        share|improve this answer













        Upgrading from Ubuntu 14.04 LTS or 16.04 LTS



        To upgrade on a Desktop system, you will need to do the following from GUI:



        Open the "Software & Updates" Setting in System Settings.



        Select the 3rd Tab called "Updates".
        Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version" if you are using 14.04, set it to "long-term support versions" if you are using 15.10 LTS.
        Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
        Software Updater should open up and tell you: New distribution release '16.04 LTS' is available.
        Click Upgrade and follow the on-screen instructions.



        To upgrade on a server system:



        Install the update-manager-core package if it is not already installed.



        Make sure the /etc/update-manager/release-upgrades is set to normal if you are using 14.04 LTS if you are using 14.04 LTS.
        Launch the upgrade tool with the command



        sudo do-release-upgrade.



        Follow the on-screen instructions.
        Note that the server upgrade will use GNU screen and automatically re-attach in case of dropped connection problems.



        There are no offline upgrade options for Ubuntu Desktop and Ubuntu Server. Please ensure you have network connectivity to one of the official mirrors or to a locally accessible mirror and follow the instructions above.



        OR



        Follow this guide:



        https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 14 '18 at 12:08









        ShazeShaze

        1566




        1566






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006117%2fupgrade-ubuntu-14-04-lts-to-16-04-lts-apt-problem%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

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?