How to upgrade from Ubuntu 21.10 to Ubuntu 22.04

17,538

Solution 1

We all have been waiting for the 22.04 version release. The April 21, 2022 is here. It seems the wait is finally over. Not quite!

Don't try to upgrade the day Ubuntu 22.04 is released

Just wait a week or two. Eventually when you open the Software Updater app, it will prompt you to upgrade. Big upgrades like this are rolled out in stages, so that everyone does not try to upgrade at the same time and overload and crash the download servers.

For upgrade from 20.04 to 22.04

The wait is not over yet. LTS release upgrade prompt won't appear until a few weeks after the version 22.04.1 is released in August 2022.

Hope this helps

Solution 2

The 22.04 Release Notes have been updated to highlight why standard release upgrades have not been enabled yet:

Upgrading from Ubuntu 21.10

Upgrades to 22.04 LTS are currently not enabled (due [to] a bug with snapd and update-notifier) but will be in the next couple of days.

One imagines the bug is LP#1969162. After a fix is released, be patient. Mirrors need to update. Since it's a bug in 21.10, Phased Updates means some folks won't see it for up to one week. At some point soon, they will make release-upgrades available to 21.10 users.

  • Note that 20.04 users are different. You won't see a release-upgrade prompt until August 2022, matching a first point release of 22.04. 20.04 users don't have this bug; the three-month delay for 22.04 to stabilize has been a normal element of LTS-to-LTS release-upgrades for over a decade.

Solution 3

sudo apt update && sudo apt dist-upgrade

Then make sure you have the update-manager-core package installed.

sudo apt install update-manager-core

After that, run the following command to begin the upgrade process.

do-release-upgrade -d

Then follow the on-screen instruction to upgrade to Ubuntu 22.04.

I found this here. You can also use this process for other Ubuntu 20.04 LTS. https://itsubuntu.com/how-to-upgrade-ubuntu-22-04-lts/

Solution 4

Upgrade after 2weeks from now. Ubuntu 22.04 is still in development phrase. Which means in-case you go ahead to upgrade this might result to lots of bugs and inconsistencies.

For those who want to contribute to solving and identifying bugs, you can upgrade via: where -d implies development.

sudo do-release-upgrade -d
Share:
17,538
Jonte YH
Author by

Jonte YH

Updated on January 04, 2023

Comments

  • Jonte YH
    Jonte YH over 1 year

    I want to upgrade but i get this below:

    enter image description here

    It should be released today 21 April i don't get it?

    • Admin
      Admin about 2 years
      Try sudo do-release-upgrade -d as it might take some time before the upgrade is moved to production, typically first after 22.04.1 has been released. What has been released now is only the iso for new installs.
    • Admin
      Admin about 2 years
      @SorenA One question what does -d do?
    • Admin
      Admin about 2 years
      It will install development version, which 22.04 upgrade still will be as I described.
    • Admin
      Admin about 2 years
      @SorenA What does development version mean?
    • Admin
      Admin about 2 years
      Development or beta version is what comes before production.
    • Admin
      Admin about 2 years
      @SorenA If i download the Development version how will it effect the Operating System in the long run?
    • Admin
      Admin about 2 years
    • Admin
      Admin about 2 years
      ISO release is today which is for NEW INSTALLS, the upgrade switch won't open till next week (at the earliest)
    • Admin
      Admin about 2 years
      It is preferable to copy and paste the terminal output rather than posting a screenshot, so that it is easier to read and easier to find using search.
    • Admin
      Admin about 2 years
      Please check it again. Update 22.04 is currently available. For 21.10 :)
    • Admin
      Admin about 2 years
      @sohamPatel Thanks now it is working!
    • Admin
      Admin almost 2 years
      just drop the -d from the end of the sudo do-release -upgradeand will update but use a development (unstable) version.
  • Admin
    Admin about 2 years
    Thanks @user68186 i have another question if i download the Development version how will it effect the Operating System until the stable version is available?
  • Admin
    Admin about 2 years
    @JonteYH I can't predict how the upgrade to the development version will go. It may work OR it may break something. It depends on your exact hardware and software configuration. The longer you wait the chances of everything will work gets better and better as more bugs are reported from real world upgrades and use and are fixed. You may want to keep an eye on this site and the Ubuntu forum to see what problems others are having.
  • Admin
    Admin about 2 years
    On which tags should i click forward on Ubuntu forum?
  • Admin
    Admin about 2 years
    Ubuntu 22.04 has been released, it's not in development phase any longer. The reason that you need to pass the -d flag is because Ubuntu prefers to prompt users to upgrade some time after the release. But Ubuntu 22.04 is fully released as you can see in the home page of ubuntu.com screenshot
  • Admin
    Admin about 2 years
    well thanks for this, I think the article i read mislead me.
  • Admin
    Admin about 2 years
    In my experience, upgrades have never worked for me. A fresh install works, at the least time and frustration. Case in point: I tried to 'upgrade' my Toshiba laptop from 21 to 22. All seemed to go well: thousands of files downloaded. Rebooted. No update. Debugging could need weeks of time. A fresh install is usually <30 minutes and has never failed me. The frustration point is the download: obtaining an ISO file can take days. Ubuntu needs many more mirror servers, say another thousand.
  • Admin
    Admin about 2 years
    this works for me upgrading from 20.04 to 22.04 using the terminal. There are some hiccups on certain apps and internal error from the first boot. However, overall experience is better than 20.04. do take note that snap firefox is slower at launch compared to deb. And if you have multiple extensions on your machine, probably best to wait because many are not supported or "glitchy" as of now.
  • Admin
    Admin about 2 years
    @Flimm, but issuing the command above I get: Checking for a new Ubuntu release / = Welcome to the Ubuntu 'Jammy Jellyfish' development release = / ''This release is still in development.''
  • Admin
    Admin about 2 years
    Do you know if the bug is tracked anywhere on e.g. launchpad to see the progress?
  • Admin
    Admin about 2 years
    @Freddy edited the answer.
  • Admin
    Admin about 2 years
    Update 22.04 is available, so you can directly do do-release-upgrade