How can one upgrade Ubuntu 19.04 to 20.04?

36,759

Check out this link on how to do it: https://www.howtogeek.com/351360/how-to-upgrade-to-the-latest-version-of-ubuntu/

Yes you will have to upgrade to 19.10 first I believe. Basically, here's the steps:

  1. Since ubuntu normally only tells you to upgrade when there is an LTS version out, you will need to change that in order to prevent any problem during the installation. Use your preferred editor and type: sudo nano /etc/update-manager/release-upgrades At the bottom, you should see the text prompt=lts. If you see that, change the lts to normal. However if you don't see it you are good.

  2. run the command do-release-upgrade -c This command checks Ubuntu’s servers for any available updates and informs you which version of Ubuntu you’ll be upgrading to.

  3. The previous command checks for available updates, and if you see the current update that you want to upgrade to, execute the command, sudo do-release-upgrade.

  4. Just follow along with what the command lines tell you and you should be good to go!

I apologise for the unconventional styling of this answer, I am new and don't quite know the syntaxes yet. For the most accurate answer check the link I put at the top.

Share:
36,759

Related videos on Youtube

Patoshi パトシ
Author by

Patoshi パトシ

Updated on September 18, 2022

Comments

  • Patoshi パトシ
    Patoshi パトシ almost 2 years

    With the new release of 20.04 LTS. How can I upgrade my 19.04 to this newest version? Or do I have to upgrade to 19.10 first?

  • Stalinko
    Stalinko over 3 years
    Doesn't work nowadays unfortunately :( I have Prompt=normal. do-release-upgrade -c outputs New release '20.04.1 LTS' available. but when I run the upgrade it says "Can not upgrade An upgrade from 'disco' to 'focal' is not supported with this tool."
  • Patoshi パトシ
    Patoshi パトシ over 3 years
    same error im getting too.