[Bug 1828100] Re: KernelRemoval section of DistUpgrade.cfg shouldn't require manual updating

Balint Reczey balint.reczey at canonical.com
Wed Jun 26 14:50:20 UTC 2019


The case when u-r-u considered (then skipped) removing the running
kernel package will be fixed with LP: #1615381 getting fixed in APT.

Until this happens it is better to keep the sanity check in
tryMarkObsoleteForRemoval() and maybe extend it to cover package names
ending with the kernel version without flavor, like linux-
headers-4.18.0-24.

See: LP: #1828200 .

-- 
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/1828100

Title:
  KernelRemoval section of DistUpgrade.cfg shouldn't require manual
  updating

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Eoan:
  Fix Released

Bug description:
  Currently the method to determine kernels to auto remove uses a hard-
  coded version number and package base names in DistUpgrade.cfg. This
  need to be updated for every release of Ubuntu and has been missed in
  the past - bug 1828072. It'd be better if the autoremovalable kernels
  did not need to be updated all the time and instead utilized the logic
  apt uses (/etc/apt/apt.conf.d/01autoremove) to determine what kernels
  are removable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1828100/+subscriptions



More information about the foundations-bugs mailing list