How to Upgrade Ubuntu 20.04 to 22.04 LTS (via GUI)

Canonical has released Ubuntu 22.04 LTS operating system for desktop and severs. Refer the below, if you have Ubuntu 20.04 installed on your system and want to upgrade it to Ubuntu 22.04 LTS (Jammy Jellyfish). This tutorial will cover how you can safely upgrade Ubuntu 20.04 to 22.04 LTS via graphically.

Before initiating the upgrade, please make sure following things are in place.

  • Sudo User with admin privileges
  • Stable and high-speed internet connection.
  • At least 10 GB free disk space.
  • Take the backup of all important folders and files, so that you don’t loose the data in case upgrade fails.

Without any further delay, let’s begin with upgrade steps

1 ) Install all available updates

Login to Ubuntu 20.04 system, open the terminal and run beneath commands to install all available updates.

$ sudo apt update
$ sudo apt upgrade -y

Install-Updates-Ubuntu-20-04

Once all the updates are installed then reboot the system using reboot command.

$ sudo reboot

When the system boots up after the reboot, verify the Ubuntu version and code name. Run ‘lsb_release -a

lsb-release-before-upgrade-ubuntu-20-04

2) Start Upgrade

Run following commands to check whether upgrade is available or not for your system.

$ sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Or
$ sudo update-manager -c -d

do-release-upgrade-ubuntu-22-04

In the next window, Installer will prompt you to confirm the upgrade.

Choose-start-upgrade-ubuntu

Click on ‘Start Upgrade

Now it will download and install required packages for upgrade. It may take time between  20 to 40 minutes depending upon your internet speed.

Downloading-Installing-Packages-Ubuntu-Upgrade

From Ubuntu 22.04 LTS on wards, Firefox will be available as snap package. So installer will transition your installed firefox to snap package.

Firefox-Snap-Ubuntu-Upgrade

Click on Next to proceed further

Note:  During the upgrade, system may become slow or may be not responding for some time. Don’t panic in such situations, let installer do the upgrade task.

During the upgrade, installer will prompt you to replace or keep the customize files. So, choose according to your need.

Replace-Customized-Files-during-upgrade

In my case, I have chosen ‘Replace’ option.

Furthermore, installer will prompt you to remove obsolete packages, so click on ‘Remove’,

Remove-obsolete-Packages-During-Ubuntu-Upgrade

Once installer has installed all the required packages and removed obsolete packages then it will ask you to reboot the system to complete upgrade.

Restart-After-Upgrade-Ubuntu

Click on “Restart Now

After the reboot, we will get following login screen, enter the user’s credentials and hit enter.

Login-Screen-After-Ubuntu-Upgrade

Open the terminal and run command ‘lsb_release -a’ to verify Ubuntu version and code name.

lsb-release-after-ubuntu-upgrade

Perfect, above command output confirms that Ubuntu 20.04 has been upgraded to Ubuntu 22.04 LTS (Jammy Jellyfish). That’s all from this tutorial, please do post your queries and feedback in below comments section.

1 thought on “How to Upgrade Ubuntu 20.04 to 22.04 LTS (via GUI)”

  1. After running sudo apt update and rebooting, the upgrade fails; I repeatedly receive “Please install all available updates for your release before upgrading”. It’s a vicious loop of refusing to upgrade even though I have completed all available software updates.

    Reply

Leave a Comment

twelve − four =