setting release-upgrades Prompt to never can cause confusing behavior
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
|
Medium
|
Brian Murray | ||
Bionic |
Fix Released
|
Medium
|
Brian Murray | ||
Cosmic |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
Impact
------
If Prompt=never in /etc/update-
Test Case
---------
1) set Prompt=never in /etc/update-
2) run 'do-release-
Observe an error message regarding no new release being available or for the -d case on 18.10 one regarding upgrades to the dev release only being supported from the latest supported release.
With versions of update-manager and ubuntu-
Additionally, release-upgrades has been modified to indicate that use never won't allow you to upgrade and to clarify what happens if you've set lts on a non-lts release.
Original Description
-------
The prompt setting in /etc/update-
Steps to reproduce:
1) On an 18.04 machine, set Prompt in /etc/update-
2) Attempt to upgrade to 18.10 beta using do-release-upgrade -d.
3) The upgrade reports "Upgrades to the development release are only available from the latest supported release." This is both an incorrect error message, and it prevents upgrade even though the user has specifically requested the development version.
Possible fixes:
1) The documentation should be changed to indicate that the Prompt argument controls both whether you are prompted to upgrade, but also whether you can use the upgrade tool at all.
2) A second configuration option should be added to allow the admin to control the prompting for upgrade separately from the ability to upgrade, allowing users to upgrade the system manually, even when Prompt is set to never.
Question: Is the default setting of Prompt=lts going to prevent users from upgrading their 18.04 machines to 18.10 until they change it to normal?
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
Changed in update-manager (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
summary: |
- release-upgrades Prompt to anything other than normal prevents beta - upgrades + setting release-upgrades Prompt to never can cause confusing behavior |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-release-upgrader (Ubuntu Cosmic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu Bionic): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in update-manager (Ubuntu Cosmic): | |
status: | New → Triaged |
Changed in update-manager (Ubuntu Bionic): | |
status: | Triaged → 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) |
do-release-upgrade relies on update-manager's MetaReleaseCore to parse the /etc/update- manager/ release- upgrades configuration file so any changes would likely require modifying update-manager to return information about what prompt is set to and for do-release-upgrade to return a more informative error message.