How to Upgrade to Ubuntu 20.04 from Ubuntu 18.04 & 19.10

The stable version of Ubuntu 20.04 LTS (code-named Focal Fossa) is released on April 23rd, if you are curious to know what is in it, you can now upgrade to the version of it from lower versions for testing purposes.

Just like every new Ubuntu release, Ubuntu 20.04 ships with new features including the latest and greatest software such as the Linux kernel and refreshed state-of-the-art toolchain. You can find more information about the new changes from the release notes.

Importantly, Ubuntu 20.04 LTS will be supported for 5 years until April 2025, for Ubuntu Desktop, Ubuntu Server, and Ubuntu Core.

This guide walks you through the steps to upgrade to Ubuntu 20.04 LTS from either Ubuntu 18.04 LTS or Ubuntu 19.10, both on desktop and server systems.

Before going for the upgrade, note that:

  1. You never know what happens during an upgrade, so take a backup of your system (especially if it’s a testing system with important file/document/projects); you can go for a full image/snapshot or a partial backup of your system.

Installing Updates On Current Ubuntu Version

As a requirement, you need to make sure that you have installed all updates for your current version of Ubuntu before you upgrade. So search for the Software Updater setting in System Settings and open it as shown in the following screenshot.

Ubuntu Software Updater

Ubuntu Software Updater

Once it has opened, allow it to check for updates as shown in the following screenshot.

Checking for Ubuntu Upgrades

Checking for Ubuntu Upgrades

After checking for all the updates, it will show you the size of the updates. You can find more about the updates by clicking “Details of updates”. Then click Install Now.

Install Ubuntu Updates

Install Ubuntu Updates

Only a user with administrative rights to use the sudo command can install software and updates. So provide your password to authenticate to start the updates installation process. Then click Authenticate.

Enter Sudo Password

Enter Sudo Password

If authentication is successful, the updates installation process should start as shown in the following screenshot.

Installing Ubuntu Updates

Installing Ubuntu Updates

After all the updates are installed, restart the system to apply the new changes by clicking Restart Now.

Restart to Apply Ubuntu Updates

Restart to Apply Ubuntu Updates

Upgrading to Ubuntu 20.04 from Ubuntu 18.04 & 19.10

To start the upgrade process, search and open the Software & Updates setting in System Settings.

Ubuntu Software Updates

Ubuntu Software Updates

Then click on the third tab called Updates as highlighted in the following screenshot. Then set the Notify me of a new Ubuntu version setting drop-down menu to:

  • For long-term support versions – if you are using 18.04 LTS.
  • For any new version – if you are using 19.10.
Notify New Ubuntu Version

Notify New Ubuntu Version

Next, press Alt+F2 and type the following command into the command box as shown in the following screenshot and press Enter.

update-manager -c -d
Run Update Manager

Run Update Manager

Then the Update Manager should open up and tell you that “The software on this computer is up to date. However, Ubuntu 20.04 LTS is now available (you have 18.04 or 19.10)”, as shown in the following screenshot. Click Upgrade and provide your password when prompted.

New Ubuntu Version Available

New Ubuntu Version Available

Next, read the welcome message and click Upgrade and wait for the Update Manager to download the distribution upgrade tools. It will highlight the steps for the upgrade as shown in the following screenshot.

Upgrading Ubuntu to Version 20.04

Upgrading Ubuntu to Version 20.04

Then it will give you a summary of the upgrade process highlighting the number of packages that are installed but no longer supported, those that will be removed, the new packages that will be installed, and those that will be upgraded.

It also shows the download size and the time it will take according to the quality of your internet connection. You can view details by clicking Details. Click Start Upgrade.

Start Ubuntu Upgrade Process

Start Ubuntu Upgrade Process

Once the upgrade is done, restart the system to apply the new changes and after a reboot, log in. To view the information about your operating system, go to Settings –> About as shown in the following screenshots.

Ubuntu 20.04 Login

Ubuntu 20.04 Login

Ubuntu 20.04 Login

Ubuntu 20.04 Desktop

Ubuntu 20.04 System Info

Ubuntu 20.04 System Info

Upgrading to Ubuntu 20.04 from Ubuntu 18.04 LTS or 19.10 Server

First, ensure that your system is up to date by running the following commands.

$ sudo apt-get update
$ sudo apt-get upgrade -y
OR
$ sudo apt-get dist-upgrade -y 
Install Updates on Ubuntu Server

Install Updates on Ubuntu Server

Once all updates are installed (when the system is up to date), reboot your system to apply them. Then run the following command to install update-manager-core package if it is not already installed.

$ sudo update-manager-core
Install Ubuntu Update Core Manager

Install Ubuntu Update Core Manager

Then ensure that the Prompt directive in /etc/update-manager/release-upgrades configuration file is set to ‘lts' if you only want LTS upgrades (for Ubuntu 18.04 users) or to 'normal' if you want non-LTS upgrades (for Ubuntu 19.10 users).

$ sudo vi /etc/update-manager/release-upgrades
Set Prompt Directive

Set Prompt Directive

Now launch the upgrade tool with the following command.

$ sudo do-release-upgrade -d
Run Upgrade on Ubuntu

Run Upgrade on Ubuntu

The above command will read the package list and disable third-party entries in the sources.list file. It will also calculate the changes then prompt you to start the upgrade and show you the number of packages that are currently installed but no longer supported, those that will be removed, the new packages that will be installed and those that will be upgraded as well as the download size and the time it will take according to the quality of your internet connection.

Answer y for yes to continue.

Disabling Third-Party Repositories

Disabling Third-Party Repositories

Start Ubuntu Server Upgrade

Start Ubuntu Server Upgrade

Then follow the on-screen instructions. Note that during the upgrade process, you will be prompted to manually configure some packages or choose options to use via a prompt.

The following screenshot shows an example. Read the messages carefully before making choices.

Ubuntu Package Configuration

Ubuntu Package Configuration

Please follow the on-screen keyboards carefully. Once the upgrade is complete, you need to restart the server as shown in the following screenshot.

Ubuntu Upgrade Completed

Ubuntu Upgrade Completed

After a restart, login and run the following command to check the current Ubuntu version on your server.

Check Ubuntu Release Version

Check Ubuntu Release Version

There you go! We hope you have successfully upgraded your Ubuntu version from 18.04 or 19.10 to 20.04. If you encountered any issues along the way or have thoughts to share, use the feedback form below to reach us.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

1 Response

  1. greek says:

    Hi, I’m facing an error in ubuntu 18.04.

    Could not calculate the upgrade

    An unresolvable problem occurred while calculating the upgrade.

    This was likely caused by:
    * Unofficial software packages not provided by Ubuntu
    Please use the tool ‘ppa-purge’ from the ppa-purge
    package to remove the software from a Launchpad PPA and
    try the upgrade again.

    If none of this applies, then please report this bug using the
    command ‘ubuntu-bug ubuntu-release-upgrader-core’ in a terminal. If
    you want to investigate this yourself the log files in
    ‘/var/log/dist-upgrade’ will contain details about the upgrade.
    Specifically, look at ‘main.log’ and ‘apt.log’.

    Restoring the original system state

    Aborting
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.