2018-10-18 15:49:07 |
Steve Langasek |
bug |
|
|
added bug |
2018-10-18 15:49:14 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): importance |
Undecided |
Critical |
|
2018-10-18 15:49:18 |
Steve Langasek |
ubuntu-release-upgrader (Ubuntu): importance |
Critical |
Medium |
|
2018-10-18 15:50:37 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): status |
New |
Triaged |
|
2018-10-18 15:50:44 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2018-10-18 15:50:44 |
Brian Murray |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Bionic) |
|
2018-10-18 15:50:50 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Bionic): status |
New |
Triaged |
|
2018-10-18 15:50:53 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2018-10-18 15:51:53 |
Brian Murray |
tags |
|
bionic rls-dd-incoming |
|
2018-11-28 17:45:43 |
Brian Murray |
bug task added |
|
update-manager (Ubuntu) |
|
2018-11-28 17:46:30 |
Launchpad Janitor |
branch linked |
|
lp:update-manager |
|
2018-11-28 18:06:54 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu-release-upgrader |
|
2018-11-28 18:16:31 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): status |
Triaged |
In Progress |
|
2018-11-28 18:16:36 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2018-11-28 18:16:41 |
Brian Murray |
update-manager (Ubuntu): status |
New |
In Progress |
|
2018-11-28 18:16:46 |
Brian Murray |
update-manager (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2018-11-29 11:32:57 |
Launchpad Janitor |
update-manager (Ubuntu): status |
In Progress |
Fix Released |
|
2018-12-13 15:43:07 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu): status |
In Progress |
Fix Released |
|
2019-01-14 21:34:03 |
Brian Murray |
nominated for series |
|
Ubuntu Cosmic |
|
2019-01-14 21:34:03 |
Brian Murray |
bug task added |
|
update-manager (Ubuntu Cosmic) |
|
2019-01-14 21:34:03 |
Brian Murray |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Cosmic) |
|
2019-01-14 21:34:11 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Cosmic): status |
New |
Triaged |
|
2019-01-14 21:34:13 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Cosmic): importance |
Undecided |
Medium |
|
2019-01-14 21:34:18 |
Brian Murray |
update-manager (Ubuntu Cosmic): status |
New |
Triaged |
|
2019-01-14 21:34:21 |
Brian Murray |
update-manager (Ubuntu Cosmic): importance |
Undecided |
Medium |
|
2019-01-14 22:07:51 |
Brian Murray |
update-manager (Ubuntu Bionic): status |
New |
In Progress |
|
2019-01-14 22:07:55 |
Brian Murray |
update-manager (Ubuntu Cosmic): status |
Triaged |
In Progress |
|
2019-01-14 22:07:58 |
Brian Murray |
update-manager (Ubuntu Bionic): assignee |
|
Brian Murray (brian-murray) |
|
2019-01-14 22:08:01 |
Brian Murray |
update-manager (Ubuntu Cosmic): assignee |
|
Brian Murray (brian-murray) |
|
2019-01-16 20:49:51 |
Brian Murray |
description |
On a bionic system with Prompt=lts set in /etc/update-manager/release-upgrades, 'do-release-upgrade -d' fails with:
$ 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://changelogs.ubuntu.com/meta-release-lts *and* in https://changelogs.ubuntu.com/meta-release-lts-development, a more accurate explanation would be:
There is no development version of an LTS release available.
To upgrade to the latest non-LTS development release, set Prompt=normal. |
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/python3/dist-packages/UpdateManager/Core/MetaRelease.py so that "self.new_dist = None'".
1) set Prompt=lts in /etc/update-manager/release-upgrades
2) run do-release-upgrade -d
3) Observe the error from the original description
With versions of update-manager and ubuntu-release-upgrader (which depends on the changes in update-manager) from -proposed you will instead see a message about "no development version of an LTS available" and details about how to modify Prompt.
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-release-upgrader.
Original Description
--------------------
On a bionic system with Prompt=lts set in /etc/update-manager/release-upgrades, 'do-release-upgrade -d' fails with:
$ 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://changelogs.ubuntu.com/meta-release-lts *and* in https://changelogs.ubuntu.com/meta-release-lts-development, a more accurate explanation would be:
There is no development version of an LTS release available.
To upgrade to the latest non-LTS development release, set Prompt=normal. |
|
2019-01-16 21:11:02 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Cosmic): status |
Triaged |
In Progress |
|
2019-01-16 21:11:05 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu Cosmic): assignee |
|
Brian Murray (brian-murray) |
|
2019-01-22 17:27:35 |
Łukasz Zemczak |
update-manager (Ubuntu Cosmic): status |
In Progress |
Fix Committed |
|
2019-01-22 17:27:37 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-01-22 17:27:39 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-01-22 17:27:42 |
Łukasz Zemczak |
tags |
bionic rls-dd-incoming |
bionic rls-dd-incoming verification-needed verification-needed-cosmic |
|
2019-01-22 17:35:16 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Cosmic): status |
In Progress |
Fix Committed |
|
2019-01-22 17:37:44 |
Łukasz Zemczak |
update-manager (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-01-22 17:37:50 |
Łukasz Zemczak |
tags |
bionic rls-dd-incoming verification-needed verification-needed-cosmic |
bionic rls-dd-incoming verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-01-22 17:46:10 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Bionic): status |
Triaged |
Fix Committed |
|
2019-01-23 14:25:58 |
Brian Murray |
tags |
bionic rls-dd-incoming verification-needed verification-needed-bionic verification-needed-cosmic |
bionic rls-dd-incoming verification-done-bionic verification-needed verification-needed-cosmic |
|
2019-01-23 23:06:18 |
Brian Murray |
tags |
bionic rls-dd-incoming verification-done-bionic verification-needed verification-needed-cosmic |
bionic rls-dd-incoming verification-done verification-done-bionic verification-done-cosmic |
|
2019-01-31 09:01:25 |
Launchpad Janitor |
update-manager (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-01-31 09:01:33 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-01-31 09:01:35 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-01-31 09:20:18 |
Launchpad Janitor |
update-manager (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-01-31 09:20:22 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|