group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #27267
[Bug 1797209] Re: do-release-upgrade should block release upgrades in some circumstances
This bug was fixed in the package ubuntu-release-upgrader - 1:16.04.26
---------------
ubuntu-release-upgrader (1:16.04.26) xenial; urgency=medium
* do-release-upgrade: do not run the release upgrade if either not all
fully phased updates are installed or a reboot is required due to a libc6
upgrade. (LP: #1797209)
-- Brian Murray <brian@xxxxxxxxxx> Tue, 06 Nov 2018 15:55:10 -0800
** Changed in: ubuntu-release-upgrader (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1797209
Title:
do-release-upgrade should block release upgrades in some circumstances
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Xenial:
Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
Fix Released
Status in ubuntu-release-upgrader source package in Cosmic:
Fix Released
Bug description:
Impact
------
do-release-upgrade will allow people to upgrade to a new release of Ubuntu even if they have outstanding updates to install or need to reboot from a libc6 upgrade. This behavior is different than that of update-manager which forces you to install all updates or reboot before upgrading. Additionally, this specifically allows users to upgrade without receiving fixes that would improve the upgrade process e.g. bug 1780996.
Test Case for missing updates
-----------------------------
1) Install Ubuntu 18.04 and don't install updates.
2) Modify /etc/update-manager/release-upgrades so Prompt=normal
3) Run 'do-release-upgrade -d'
With the current version of ubuntu-release-upgrader-core you'll be
able to upgrade to Ubuntu 18.10, with the version from -proposed
you'll receive a message saying "Please install all available updates
for your release before upgrading."
Test Case for libc6 update
--------------------------
1) Install Ubuntu 18.04
2) Modify /etc/update-manager/release-upgrades so Prompt=normal
3) Run 'sudo apt-get install --reinstall libc6'
4) Run 'do-release-upgrade -d'
With the current version of ubuntu-release-upgrader-core you'll be
able to upgrade to Ubuntu 18.10, with the version from -proposed
you'll receive a message saying "You have not rebooted after a
previous libc6 update. Please reboot before upgrading."
Regression Potential
--------------------
The strings are not translated but that seems better than people having a bad outcome when upgrading. It's also worth noting that
/usr/lib/ubuntu-release-upgrader/release-upgrade-motd calls /usr/lib/ubuntu-release-upgrader/check-new-release to write a stamp file which contains information about the availability of a release upgrade. The behavior of check-new-release should be the same i.e. it should say a new release is available and not mention the need to install updates or reboot. This can be tested by running '/usr/lib/ubuntu-release-upgrader/check-new-release -qcd'. The output should contain "New release ... available ... use do-release-upgrade".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1797209/+subscriptions