There are many guides e.g. or that suggest the upgrade from 20.04 to 22.04 is possible now. They rely on sudo do-release-upgrade -c/-d.
However, at the moment (22nd Apr), I get
$ sudo do-release-upgrade -c Checking for a new Ubuntu release New release '21.10' available. and
$ sudo do-release-upgrade -d Checking for a new Ubuntu release Upgrades to the development release are only available from the latest supported release. I have read that for the normal upgrade path, one would go from 20.04.04 to 22.04.01 (say in August). However, the claim is that sudo do-release-upgrade -d would work now (as it's effectively a dev upgrade path. However... see above.
So my question is: Are many of the guides (that claim upgrading from 20.04 to 22.04 is possible now) wrong? Or is there something wrong with my system / have I misunderstood something? If so, what?
(For clarity: I'm on Ubuntu 20.04.4 LTS but my software management is now set to update to every minor version. There are other answered question on askubuntu, but they do seem to have asked before the release on 21st. Apologies if this is a duplicate!)
2 Answers
Partial answer to: "Or is there something wrong with my system / have I misunderstood something?" Yes.
sudo do-release-upgrade -d works just fine on 4/22/22 on my 20.04 system:
Checking for a new Ubuntu release Get:1 Upgrade tool signature [819 B] Get:2 Upgrade tool [1,261 kB] Fetched 1,262 kB in 0s (0 B/s) authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg' extracting 'jammy.tar.gz' Reading cache ..and then it goes on from there
I cannot answer the first part about "many of the guides" because I will not take the time to look at them
However, as far as the part about what specifically is wrong with your system, I believe that it is your setting in Software & Updates. Make it look like this:
When I set this to "For any new version" I got the same error you did.
3This may be a possible interpretation of the situation.
- The 21.10->22.04 will only be available a week after the initial iso release. Therefore, 21.10->22.04 and presumablyt 20.04->22.04 with 'notify me' set to
any version, a standard upgrade isn't available just yet (-c). - However, the for 21.10->22.04 dev path (
-cd) is available. - The 20.04->22.04 (non-dev) will only be available in September. Therefore, with 'notify me' set to
LTS, will only be available in September. - However 20.04->22.04 is available as a dev path. Therefore, with 'notify me' set to
LTSworks now (-cd).
