do-release-upgrade prints misleading message

Bug #2065191 reported by Athos Ribeiro
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

While running noble, after the oracular archive opening but before https://changelogs.ubuntu.com/meta-release-development being updated to include oracular, i.e., the meta-release-development file lists mantic and noble, I run:

$ sudo do-release-upgrade -d

And get the following output:

Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.

/etc/update-manager/release-upgrades is set with "Prompt=normal".

At this point, I would expect the upgrade attempt output to be more friendly. While I would not expect the tool to know we are in a corner-case state where there is a new active development release but the remote metadata file is not updated yet. However, I wonder if it should say something else instead, such as saying that there is no development release to upgrade to (since that is the case based in the information given by the metadata file).

Note that, if I set /etc/update-manager/release-upgrades with "Prompt=lts" and run

$ sudo do-release-upgrade -d

I get the following output:

Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release
set Prompt=normal in /etc/update-manager/release-upgrades.

Which is expected.

Nick Rosbrook (enr0n)
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.