I want to install ubuntu on my pc and I want to have the new 22.04 version.
Will I be able to upgrade from 21.10 to 22.04 after the release? (Or should I install 22.04 beta now?)
I want to install ubuntu on my pc and I want to have the new 22.04 version.
Will I be able to upgrade from 21.10 to 22.04 after the release? (Or should I install 22.04 beta now?)
Yes you Can!
There are two ways, GUI and CLI.
Open a Terminal and type:
sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Or you can do it from terminal. I prefer CLI so Open a Terminal and type:
sudo do-release-upgrade -d
Read all prompt before typing y
, but you good to go.
Thanks for using Ubuntu :)
This is main Source from Ubuntu Blog upgrading from 18.04 to 20.04.
apt dist-upgrade && apt autoremove
is also needed to fix some python 3.9
libraries that were held back in 21.10
– Stuart Cardall
Jan 14 '22 at 20:28
-d
bypasses the staged rollout: "The reason that you need to pass the -d flag is because Ubuntu prefers to prompt users to upgrade some time after the release" https://askubuntu.com/questions/1403527/how-to-upgrade-from-ubuntu-21-10-to-ubuntu-22-04#comment2437643_1403685
– Zach Bloomquist
Apr 25 '22 at 19:19
Next version of Ubuntu (it's 22.04) will be released in 4/21/2022. After released, you can run (don't type $):
$ sudo apt update
$ sudo apt upgrade -y # Update existing packages to their latest version
$ sudo do-release-upgrade
Another way (not suggested):
# upgrade your packages first...
# then run:
$ sudo sed -i 's/impish/jammy/g' /etc/apt/sources.list
# do again update commands
$ sudo apt update
$ sudo apt upgrade
Remember to reboot your system after upgraded successfully.
Or you can open Software Updator from Applications menu and let it update existing packages, it may warn you about the new release (you will need to wait it). Do needed steps and your Ubuntu should be upgraded.
Don't install Ubuntu 22.04 Beta now, this can lead to some system problems when they may not fixed yet.
Make sure to install snap version of firefox it will stall out on it. I had to boot to recovery and fix broken install to finish the process. Good news is that it works with all your files and many setting intact.
10.optional from this you can do a sudo apt update and sudo apt upgrade
11.this installs more packages from jammy repos and upgrade many apps
12.Firefox is still the issue but it should allow you to boot normally after this when you type reboot and press enter
sudo do-release-upgrade
– Error404 Nov 27 '21 at 15:03sudo do-release-upgrade -d
. – N0rbert Nov 27 '21 at 15:51