Upgrade Ubuntu 14.04 LTS to 16.04 LTS apt problem

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








up vote
0
down vote

favorite












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 at 13:13














up vote
0
down vote

favorite












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 at 13:13












up vote
0
down vote

favorite









up vote
0
down vote

favorite











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 at 11:22









Moatez Bouhdid

707




707











  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list
    – user535733
    Feb 14 at 13:13
















  • Please edit your question to show us the entire contents of your file /etc/apt/sources.list
    – user535733
    Feb 14 at 13:13















Please edit your question to show us the entire contents of your file /etc/apt/sources.list
– user535733
Feb 14 at 13:13




Please edit your question to show us the entire contents of your file /etc/apt/sources.list
– user535733
Feb 14 at 13:13










2 Answers
2






active

oldest

votes

















up vote
0
down vote













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 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 at 11:42


















up vote
0
down vote













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

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    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 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 at 11:42















    up vote
    0
    down vote













    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 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 at 11:42













    up vote
    0
    down vote










    up vote
    0
    down vote









    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 at 11:41

























    answered Feb 14 at 11:27









    ravery

    5,28451131




    5,28451131











    • and how can I do that in command ?
      – Moatez Bouhdid
      Feb 14 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 at 11:42

















    • and how can I do that in command ?
      – Moatez Bouhdid
      Feb 14 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 at 11:42
















    and how can I do that in command ?
    – Moatez Bouhdid
    Feb 14 at 11:38




    and how can I do that in command ?
    – Moatez Bouhdid
    Feb 14 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 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 at 11:42













    up vote
    0
    down vote













    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
























      up vote
      0
      down vote













      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






















        up vote
        0
        down vote










        up vote
        0
        down vote









        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 at 12:08









        Shaze

        614




        614



























             

            draft saved


            draft discarded















































             


            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491