[Bug 2065191] [NEW] do-release-upgrade prints misleading message
Athos Ribeiro
2065191 at bugs.launchpad.net
Wed May 8 14:46:21 UTC 2024
Public bug reported:
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.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2065191
Title:
do-release-upgrade prints misleading message
Status in ubuntu-release-upgrader package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2065191/+subscriptions
More information about the foundations-bugs
mailing list