22.04 is suggested on Ubuntu's website but not in the repository

8,158

Solution 1

The ISO has been released for new installs, upgrades from 21.10 are not yet opened up which is normal. The earliest they'll open up is next week just like every prior cycle.

For users of 20.04 LTS, the release-upgrade will not be seen until after the release of Ubuntu 22.04.1 LTS as per documentation and prior cycles; ie. about a further three months wait - as it's assumed LTS users prize stability.

If you look at the file https://changelogs.ubuntu.com/meta-release you'll see why you're getting the behavior you're experiencing; as Ubuntu Release Team make that change (allowing upgrades) when they deem it fit and ready for existing users.

At this moment in time, as stated, Ubuntu 22.04 LTS is deemed fit for new installs.

If you don't want to wait; you can use the -d option which will cause the following file to be used instead https://changelogs.ubuntu.com/meta-release-development thus the path will be seen.

Those files will be changed when the Ubuntu Release Team deem the systems ready for users, the aim of which is to ensure stability for existing users.

Solution 2

Generally the do-release-upgrade option will not show .0 releases. When the first point-release, Ubuntu 22.04.1, is made available later this year, people will be able to upgrade their installations via the do-release-upgrade option.

In the meantime, you can use -d to install the current stable release (despite the -d meaning "development release").

Share:
8,158
Emoji
Author by

Emoji

I am the Emoji! I am the emoji that like python and linux 😜😜😜😜😜😜😜😜😜😜😜😜😜😜😜

Updated on January 04, 2023

Comments

  • Emoji
    Emoji over 1 year
    $ sudo do-release-upgrade -c # It SHOULD work as 22.04 is released now
    Checking for a new Ubuntu release
    No new release found.
    $ sudo do-release-upgrade -d # This is the only solution now which is abnormal
    Checking for a new Ubuntu release
    
    = Welcome to the Ubuntu 'Jammy Jellyfish' development release =
    
    ''This release is still in development.''
    ............
    

    The current mirror is archive.ubuntu.com. The current OS is 21.10.

    • Admin
      Admin about 2 years
      The ISO has been released for new installs, upgrades from 21.10 are not yet opened up which is normal. The earliest they'll open up is next week just like every thing cycle.
    • Admin
      Admin about 2 years
      See the 22.04 Release Notes: "Upgrading from Ubuntu 21.10: Upgrades to 22.04 LTS are currently not enabled (due a bug with snapd and update-notifier) but will be in the next couple of days."
    • Admin
      Admin about 2 years
      The bug has been solved and the package with the fix can already be installed bugs.launchpad.net/ubuntu/+source/snapd/+bug/1969162 so should be fine to upgrade now
  • Admin
    Admin about 2 years
    Thank you! I will manually edit /etc/apt/sources.list now.
  • Admin
    Admin about 2 years
    The upgrade option for 21.10 should show up in a few weeks if there are no major issues. On the other hand, 20.04 won't see it till August when 22.04.1 is released.
  • Admin
    Admin about 2 years
    Is it safe to upgrade with option -d? Just it be sure that it will not pull some bleeding edge packages which would destabilize the system.
  • Admin
    Admin almost 2 years
    If you're the fearless sort (or a healthy dose of foolhardiness will do just as well) then you can try this from a terminal - gist.github.com/avranju/4bd6ba153d5e9c6ca9c288eae6a6ad79 (GitHub gist because this site doesn't format code properly in comments). This will start the upgrade process. Again, only attempt this if you don't particularly care if at the end you have to repave the whole system. I was on 20.04.1 and being foolhardy, I tried it and it worked. Caveats: [1] it’s not an unattended process and [2] if everything freezes, be patient and wait.
  • Admin
    Admin almost 2 years
    @SudhirSinghKhanger you can answer your question if you try out.
  • Admin
    Admin almost 2 years
    I do a clonezilla backup of the OS partition before doing ANY upgrades. then I can take chances.