Public bug reported:
When running an LTS kernel, purge-old-kernels should not remove the
latest non-LTS kernel (and its metapackage). For example:
$ dpkg -l 'linux-image-generic*' | grep ^.i
ii linux-image-generic 3.13.0.88.94 amd64 Generic
Linux kernel image
ii linux-image-generic-lts-vivid 3.19.0.61.44 amd64 Generic
Linux kernel image
ii linux-image-generic-lts-xenial 4.4.0.24.14 amd64 Generic
Linux kernel image
This system has the base kernel meta package and two LTS meta packages.
Only the currently running and latest installed kernels should remain.
If this is running:
$ uname -r
3.19.0-51-generic
And these are installed:
$ dpkg -l 'linux-image-[34]*' | grep ^.i | cut -c-90
ii linux-image-3.13.0-85-generic 3.13.0-85.129
ii linux-image-3.13.0-86-generic 3.13.0-86.131
ii linux-image-3.13.0-87-generic 3.13.0-87.133
ii linux-image-3.13.0-88-generic 3.13.0-88.135
ii linux-image-3.19.0-51-generic 3.19.0-51.58~14.04.1
ii linux-image-3.19.0-59-generic 3.19.0-59.66~14.04.1
ii linux-image-3.19.0-61-generic 3.19.0-61.69~14.04.1
ii linux-image-4.4.0-22-generic 4.4.0-22.40~14.04.1
ii linux-image-4.4.0-24-generic 4.4.0-24.43~14.04.1
The following kernels should remain:
ii linux-image-3.13.0-88-generic 3.13.0-88.135
ii linux-image-3.19.0-51-generic 3.19.0-51.58~14.04.1
ii linux-image-3.19.0-61-generic 3.19.0-61.69~14.04.1
ii linux-image-4.4.0-24-generic 4.4.0-24.43~14.04.1
** Affects: bikeshed (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1593462
Title:
purge-old-kernels doesn't handle -lts kernels
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bikeshed/+bug/1593462/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs