Update-manager does not remove autoremovable kernel packages _before_installing new (kernel) packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I happened to run apt manually on my system this morning to remove a package, and I was informed:
The following packages were automatically installed and are no longer required:
linux-
linux-
This was surprising, since I have run update-manager yesterday (with no intervening reboot), and unattended-upgrades is enabled, and both of those packages should have already removed this stale kernel before now.
After apt autoremove, my current installed packages are:
$ dpkg -l linux-image'*' | grep ^ii
ii linux-image-
ii linux-image-
ii linux-image-generic 4.18.0.11.12 amd64 Generic Linux kernel image
$
Could you please attach the relavant part of dpkg history log a and dpkg terminal log?
It is possible, that the last run of u-u/u-m installed kernel packages triggering /etc/kernel/ postinst. d/apt-auto- removal which resulted kernels to be removed in the _next_ apt/u-u/u-m run.