confusing error message with 'do-release-upgrade -d' and Prompt=lts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray | ||
Bionic |
Fix Released
|
Medium
|
Unassigned | ||
Cosmic |
Fix Released
|
Medium
|
Brian Murray | ||
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Brian Murray | ||
Bionic |
Fix Released
|
Undecided
|
Brian Murray | ||
Cosmic |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
Impact
------
A confusing error message is returned if Prompt=lts is set and 'do-release-upgrade -d' is run.
Test Case
---------
N.B. The changed code will never be reached on an 18.10 unless you hack line 236 of /usr/lib/
1) set Prompt=lts in /etc/update-
2) run do-release-upgrade -d
3) Observe the error from the original description
With versions of update-manager and ubuntu-
Also note there is no independent test case for update-manager as it is now just exporting a new variable which is used by ubuntu-
Original Description
-------
On a bionic system with Prompt=lts set in /etc/update-
$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
$ echo $?
1
$
The refusal to upgrade is correct, but the message it gives is incorrect and gives no hint how to fix.
Since bionic is the latest release listed in https:/
There is no development version of an LTS release available.
To upgrade to the latest non-LTS development release, set Prompt=normal.
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Critical |
importance: | Critical → Medium |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: bionic rls-dd-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in update-manager (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in ubuntu-release-upgrader (Ubuntu Cosmic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu Cosmic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu Cosmic): | |
status: | Triaged → In Progress |
Changed in update-manager (Ubuntu Bionic): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in update-manager (Ubuntu Cosmic): | |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Cosmic): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
This bug was fixed in the package update-manager - 1:19.04.2
---------------
update-manager (1:19.04.2) disco; urgency=medium
* UpdateManager/ Core/MetaReleas e.py: set prompt in MetaReleaseCore so that release- upgrade can provide more informative error messages.
do-
(LP: #1798618, LP: #1795024)
-- Brian Murray <email address hidden> Wed, 28 Nov 2018 09:49:44 -0800