0

I am trying to upgrade my system from 21.04 to 22.04 LTS.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:    21.04
Codename:   hirsute

However, the system seems to only want to upgrade to 21.10. I tried these steps...

$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo reboot
$ sudo do-release-upgrade 
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

= Welcome to Ubuntu 21.10 'Impish Indri' =

The Ubuntu team is proud to announce Ubuntu 21.10 'Impish Indri'.

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

. . .

Do I need to upgrade to 21.10 first, or can I upgrade directly to 22.04?

Joseph
  • 103

1 Answers1

3

You need to upgrade to 21.10 first. You cant skip versions.You can upgrade from LTS to LTS though, 20.04 to 22.04 and so - not that this will help here.

sudo do-release-upgrade -p

dommer
  • 3
Soren A
  • 7,191