Update from Ubuntu 20.04 Focal to Ubuntu 22.04 Jammy

Update from Ubuntu 20.04 Focal to Ubuntu 22.04 Jammy

Update from Ubuntu 20.04 Focal to Ubuntu 22.04 Jammy, Ubuntu 22.04 aka Jammy Jellyfish has just been released.
Do not directly update your systems in production. For my part, I prefer to wait for the release of the next minor version and only update my development environments.

Let’s make sure our system is up-to-date.

sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y

If your system has not been updated for a long time, you should restart it before proceeding further.

In the /etc/update-manager/release-upgrades file, check the value of Prompt .

Prompt=lts

Technically, Jammy Jellyfish is still a development release (LTS), so we’ll force the update. The official switch to LTS will arrive in a few months and the update will be offered to Focal systems.

Answer yes to the questions.

sudo do-release-upgrade -d

It will take several minutes to download all the packages, depending on your internet connection. Validate questions related to restarting services. At the end of the process we will restart the machine.

After the update

[root@server]$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

Be the first to comment

Leave a Reply

Your email address will not be published.


*