How to Upgrade WSL 2 and 1 Ubuntu 20.04 into 22.04 LTS – Guide
Ubuntu LTS Release 22.04 The long-planned release of the Canonical Linux operating system is called Jammy Jellyfish. However, at the time of writing, it was still in the testing phase and scheduled for release in April 2022. Here are methods for individuals who want to try it out without losing their existing Ubuntu 20.04 installation. Warning: as Ubuntu 22.04 is still under development, please do not upgrade your production system. This is for testing purposes only. Also, before starting the upgrade process, back up your vital data. This guide is based on Ubuntu 20.04 Focal Fossa, which runs on Windows 11 or 10 WSL 2 (Windows Subsystem for Linux), but will also run on a regular 20.04 LTS virtual machine or PC /Laptop.
How to Knife
Now that the Ubuntu 20.40.1 LTS release is available, Ubuntu 18.04 LTS users have the option to upgrade to 20.04 LTS or keep the existing version (18.04 is supported until 2023). To see the update prompt, first ensure you install all available updates for your current version. If you don’t, you can’t upgrade. Then run the Software Updater utility. It will ‘see’ that the new version of LTS is available and will present the option to upgrade, displaying a message that says: “The software on this computer is up Until the present date. However, Ubuntu 20.04 is now available (you have 18.04). ” Just click on the “Update…” button to… Well I’m sure you can guess the rest!
Ubuntu 19.10 Update
You can update Ubuntu 19.10 to 20.04 using the built-in software update tool. As long as your system is fully up-so far, you will be notified that the update is available in a pop-up from the desktop-up. Just click on ‘Update…’ button when you see to do the rest. To force checking for a new Ubuntu version from the command line, run: sudo do-release-upgrade -c Follow the instructions presented.
Updating before April 23
This section was written before the final release and as of April 23, it is no longer needed. If you updated to 20.04 before April 23, you do NOT need to reinstall anything to get the ‘final’version. Continue installing any pending software updates and you’re done. To force the update to Ubuntu 20.04, run: sudo do-release-upgrade -d This command checks for a new development release, disables all third-party PPAs, and rewrites your system’s apt list to point to focal development branches (from where it fetches the updated packages needed to complete its upgrade). do not press any other button(s) after issuing the command. Wait to calculate changes. If your Internet connection is reliable, proceed as instructed. If you decide to decline the upgrade when prompted, you MUST reactivate the bionic (18.04) or eoan (19.10) repositories manually. This is NOT done automatically. Most of the update happens automatically, which means you don’t have to do anything but wait (and watch every line passing you in the terminal). That said, don’t abandon your system entirely as, depending on your configuration, you might need to press Y or N to approve the overwriting of odd packets at some point during the process (and it won’t change until you do). Once this is done, just reboot your system when prompted to enjoy the updated Focal Fossa experience firsthand.
Final note
I hope you like the guide How to Upgrade WSL 2 and 1 Ubuntu 20.04 into 22.04 LTS. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.