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

Brian Murray brian at ubuntu.com
Wed Oct 10 19:19:21 UTC 2018


Public bug reported:

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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Affects: ubuntu-release-upgrader (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: ubuntu-release-upgrader (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: ubuntu-release-upgrader (Ubuntu Cosmic)
     Importance: Undecided
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Also affects: ubuntu-release-upgrader (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-release-upgrader (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-release-upgrader (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-release-upgrader (Ubuntu Cosmic)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu Cosmic)
     Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
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.

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