How to Upgrade Ubuntu 21.10 to Ubuntu 22.04 Jammy Jellyfish

Ubuntu 22.04 LTS code-named "Jammy Jellyfish" has been released, This receives 5 years of security updates and support (until April 2027).

For those who want to upgrade their existing Ubuntu system to the latest, we shall see how this is done in this article.

Prerequisites

  • root access to the Ubuntu 21.10 system.
  • Stable internet connection.

Since you are upgrading to a new Ubuntu release, ensure to backup all your data first so that in case of any issues during the upgrade, your data is not lost.

We will update our existing Ubuntu 21.10 installation with the latest available packages for it with the following commands,

cat /etc/lsb-release

Output:

root@vps:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"

Upgrade Ubuntu 21.10

First, we have to update our existing Ubuntu 21.10 installation with the latest available packages for it with the following commands

apt update
apt upgrade

Next, we will start with upgrading to the new version.

This command checks for a new release, updating sources.

do-release-upgrade

NOTE: While running the command it'll prompt for several permissions.

Output:

root@vps:~# do-release-upgrade
Checking for a new Ubuntu release

= Welcome to Ubuntu 22.04 'Jammy Jellyfish' =

The Ubuntu team is proud to announce Ubuntu 22.04 'Jammy Jellyfish'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/JammyJellyfish/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

Next, you will be prompted to reboot the server.

reboot

Press y to confirm the upgrade.

images

images

Select OK and continue.

images

images

images

images

images

After a restart, log in and check the current Ubuntu version on your server by running the following command.

lsb_release -a

Output:

root@vps:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy

This concludes the article for upgrading the Ubuntu to the latest available version, 22.04.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS