Here are the complete steps and precautions you need to take before upgrading to Ubuntu 22.04 LTS from Ubuntu 20.04 LTS.
Ubuntu 22.04 LTS Jammy Jellyfish releases on April 21, 2022. I recommend you wait for a month or two after April 21st to upgrade. Ideally, it would be best if you plan to Upgrade to any major release after the first point release.
But if you are in a hurry or want to experience the stunning changes and features that Ubuntu 22.04 brings to the table, then read below the steps required for a flawless upgrade process.
Table of Contents
For any upgrade, it is always wiser to follow some best practices. These prevent some post-upgrade problems and lead to a successful upgrade process.
- Backup data to another drive or USB storage from your home directory includes your pictures, videos, or other personal files.
- Keep a LIVE USB ready with Ubuntu if you run into an unstable system.
- If you upgrade to a GNOME workstation, disable all the GNOME extensions because they will be incompatible as they work with GNOME 3.36+.
- After a successful upgrade, you can enable the extensions one at a time.
- Ensure that your system is up to date with packages by running the command
sudo apt update && sudo apt upgrade
- Close all your running applications.
- Restart your system.
With that said, if you are ready, then follow the instructions below to Upgrade to Ubuntu 22.04 From Ubuntu 20.04 LTS.
Upgrade to Ubuntu 22.04 from Ubuntu 20.04 and Ubuntu 21.10
Before April 21, 2022
If you want to upgrade before the release day, open a terminal window and run the following command.
sudo do-release-upgrade -d
The above command will override the system “focal” branches with “jammy” to get the new packages. Not only that, but the command will also disable all third-party PPA that you may have added over the years.
Furthermore, the command will take some time to finish depending on your internet speed.
In addition to that, keep a watch on the terminal for occasional prompts which require your input as Y/N. Also, if you cancel the upgrade process midway, the third party PPA will not be enabled. So, you have to enable them manually.
Finally, the command will calculate the size of the upgrade and give you the estimated time required with a summary as shown below. Please read it carefully and give your permission to upgrade to Ubuntu 22.04 LTS Jammy Jellyfish.
After the upgrade process is complete, restart your system and enjoy the exciting Ubuntu 22.04 LTS.
After April 21, 2022
On the day or after April 21, 2022, Ubuntu will not give you any visual upgrade prompt for an upgrade until the first point release in July 2022 because the first point release is considered the most stable version after initial bugs are ironed out.
That said, you either wait until July, or you can force the upgrade. How? Open the Software and Updates, and go to the Updates tab. And change “Notify me of new ubuntu version” to “any new version”.
Once you do that, you should see a prompt for an upgrade on the desktop. Follow the on-screen instructions and continue with the upgrade process.
The prompt also calculates the list of packages required to upgrade within the needed time, so read the updater output carefully. Once you are ready, start the process.
Finally, after the upgrade process is finished, reboot the system to enjoy the brand-new Ubuntu 22.04 LTS Jammy Jellyfish.
If you don’t see any updates, change the option to “For any long-term support version” in the Updates tab of the Software and Updates app. Then try running the following command again.
sudo do-release-upgrade -d
Upgrade to Ubuntu 22.04 from Ubuntu 21.10
You can follow the above exact instructions for Ubuntu 21.10 as well. No extra steps are required to Upgrade to Ubuntu 22.04 from Ubuntu 21.10.
How long does the upgrade to the Ubuntu 22.04 process take?
Per my test, the default install requires a little more than 30 minutes to finish the upgrade process. It might be higher for your system based on how many software packages you installed and the installation’s age. So plan your time accordingly.
Finally, I hope these steps help you successfully upgrade your Ubuntu system to Jammy Jellyfish. If you are planning to upgrade, I wish you all the best.
Please let me know how the upgrade process goes in the comment box below.