[Bug 1795024] Re: setting release-upgrades Prompt to never can cause confusing behavior
Launchpad Bug Tracker
1795024 at bugs.launchpad.net
Thu Jan 31 09:01:35 UTC 2019
This bug was fixed in the package ubuntu-release-upgrader - 1:18.10.11.4
---------------
ubuntu-release-upgrader (1:18.10.11.4) cosmic; urgency=medium
[ Brian Murray ]
* data/release-upgrades: Clarify documentation regarding the behavior for
different Prompt settings. (LP: #1795024)
* do-release-upgrade: Utilize information regarding what Prompt is set to so
that a more informative error message can be displayed.
(LP: #1798618, LP: #1795024)
[ Andrea Azzarone ]
* DistUpgrade/DistUpgradeView.py,
DistUpgrade/DistUpgradeViewGtk3.py,
DistUpgrade/DistUpgradeViewKDE.py,
DistUpgrade/DistUpgradeViewNonInteractive.py,
DistUpgrade/DistUpgradeViewText.py:
- add askCancelContinueQuestion for all the supported views.
* DistUpgrade/DistUpgradeController.py: Ask for confirmation if Livepatch
is turned on, and you are upgrading to a version where Livepatch is not
available. (LP: #1799310)
* debian/control: add an explicit python3-distro-info dependency to
python3-distupgrade as it is now required by DistUpgradeController.
-- Brian Murray <brian at ubuntu.com> Mon, 21 Jan 2019 11:48:53 -0800
** Changed in: ubuntu-release-upgrader (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
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/1795024
Title:
setting release-upgrades Prompt to never can cause confusing behavior
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in update-manager package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
Fix Committed
Status in update-manager source package in Bionic:
Fix Committed
Status in ubuntu-release-upgrader source package in Cosmic:
Fix Released
Status in update-manager source package in Cosmic:
Fix Released
Bug description:
Impact
------
If Prompt=never in /etc/update-manager/release-upgrades and do-release-upgrade is run a likely confusing message regarding no new release being found is returned. This is can be a lie and doesn't help people upgrade if there is in fact a new release.
Test Case
---------
1) set Prompt=never in /etc/update-manager/release-upgrades
2) run 'do-release-upgrade' on 18.04 and also run 'do-release-upgrade -d' on 18.10
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-release-upgrader (which
depends on the changes in update-manager) from -proposed you will
instead see a message about prompt being set to never and the file to
modify so you can upgrade.
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-manager/release-upgrades controls whether the user is prompted to upgrade, but also controls whether the user can manually upgrade using do-release-upgrade -d.
Steps to reproduce:
1) On an 18.04 machine, set Prompt in /etc/update-manager/release-upgrades to lts or never.
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1795024/+subscriptions
More information about the foundations-bugs
mailing list