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

Launchpad Bug Tracker 1797209 at bugs.launchpad.net
Wed Oct 10 21:56:56 UTC 2018


** Branch linked: lp:ubuntu-release-upgrader

-- 
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:
  In Progress
Status in ubuntu-release-upgrader source package in Xenial:
  New
Status in ubuntu-release-upgrader source package in Bionic:
  New
Status in ubuntu-release-upgrader source package in Cosmic:
  In Progress

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