You should normally not use the -d
option with do-release-upgrade
.
Let's check the man page:
-d, --devel-release
If using the latest supported release, upgrade to the development release
The -d
option should only be used when you are on the latest supported release (at this time Ubuntu 23.04), and want to upgrade to the next development release. In addition, the -d
option will also be relevant right after the release of a new LTS version (say when Ubuntu 24.04 is released), and you want to upgrade an existing 22.04 version before the first point release (24.04.1) unlocks the LTS upgrade window (usually in August) - but this should be considered an advanced usecase.
Instead, you can use the -c
option to check which version you will upgrade to:
-c, --check-dist-upgrade-only
Check only if a new distribution release is available and report the result via the exit code
So to verify the upgrade path run:
do-release-upgrade -c
Afterwards, perform a normal upgrade command with no options:
sudo do-release-upgrade
sudo apt update
,sudo apt full-upgrade
and thensudo do-release-upgrade
(do NOT use the-d
option). Please provide output for each in your question. Thanks. – Artur Meinild May 09 '23 at 07:13-d
option is used to release-upgrade to the development release; ie. from 23.04 to the current mantic release - thus it's not a release-upgrade you currently have available to you. Your usage of-d
is a user error. – guiverc May 09 '23 at 07:17-d
for the upgrade from 18.04 to 20.04, that only applied until 20.04.1 was released (ie. before https://fridge.ubuntu.com/2020/08/06/ubuntu-20-04-1-lts-released/) as the development status for the upgrade was removed [days after that release actually]. Ubuntu 20.04 is currently at 20.04.6 – guiverc May 09 '23 at 07:26