How to Upgrade Ubuntu 20.04 to Ubuntu 22.10 Kinetic Kudu.

Ubuntu 22.10 Kinetic Kudu 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 20.04 system.
  • Stable internet connection.

Since you are upgrading to a new Ubuntu release, ensure to back up 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 22.04 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=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

Upgrade Ubuntu 22.04

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

apt update
apt upgrade

Next, we need to set Prompt=normal in /etc/update-manager/release-upgrades to check the relaese

nano /etc/update-manager/release-upgrades

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.10 'Kinetic Kudu' =

The Ubuntu team is proud to announce Ubuntu 22.10 'Kinetic Kudu'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/KineticKudu/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

Select yes and continue.

images

images

After a restart, login 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.10
Release:        22.10
Codename:       kinetic

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