[Bug 1797209] Re: do-release-upgrade should block release upgrades in some circumstances

Ɓukasz Zemczak 1797209 at bugs.launchpad.net
Mon Oct 15 14:26:16 UTC 2018


Hello Brian, or anyone else affected,

Accepted ubuntu-release-upgrader into bionic-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:18.04.27 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
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/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:
  New
Status in ubuntu-release-upgrader source package in Bionic:
  Fix Committed
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



More information about the foundations-bugs mailing list