[Bug 1803587] Re: kernel from bionic did not get autoremoved by either unattended-upgrades or update-manager

Steve Langasek steve.langasek at canonical.com
Thu Nov 15 19:33:44 UTC 2018


History log:

Start-Date: 2018-11-14  17:21:44
Commandline: aptdaemon role='role-commit-packages' sender=':1.5400'
Install: linux-headers-4.18.0-11:amd64 (4.18.0-11.12, automatic), linux-image-4.
18.0-11-generic:amd64 (4.18.0-11.12, automatic), linux-modules-extra-4.18.0-11-g
eneric:amd64 (4.18.0-11.12, automatic), linux-modules-4.18.0-11-generic:amd64 (4
.18.0-11.12, automatic), linux-headers-4.18.0-11-generic:amd64 (4.18.0-11.12, au
tomatic)
Upgrade: evince:amd64 (3.30.1-1ubuntu1, 3.30.1-1ubuntu1.2), linux-headers-generic:amd64 (4.18.0.10.11, 4.18.0.11.12), linux-libc-dev:amd64 (4.18.0-10.11, 4.18.0-11.12), linux-libc-dev:i386 (4.18.0-10.11, 4.18.0-11.12), libevdocument3-4:amd64 (3.30.1-1ubuntu1, 3.30.1-1ubuntu1.2), linux-image-generic:amd64 (4.18.0.10.11, 4.18.0.11.12), linux-signed-image-generic:amd64 (4.18.0.10.11, 4.18.0.11.12), libpq5:amd64 (10.5-1, 10.6-0ubuntu0.18.10.1), evince-common:amd64 (3.30.1-1ubuntu1, 3.30.1-1ubuntu1.2), libevview3-3:amd64 (3.30.1-1ubuntu1, 3.30.1-1ubuntu1.2), linux-tools-common:amd64 (4.18.0-10.11, 4.18.0-11.12), postgresql-client-10:amd64 (10.5-1, 10.6-0ubuntu0.18.10.1), linux-generic:amd64 (4.18.0.10.11, 4.18.0.11.12)
End-Date: 2018-11-14  17:24:10

Start-Date: 2018-11-15  08:39:50
Commandline: apt autoremove --purge
Requested-By: vorlon (1000)
Purge: linux-modules-extra-4.15.0-36-generic:amd64 (4.15.0-36.39), linux-modules-4.15.0-36-generic:amd64 (4.15.0-36.39), linux-image-4.15.0-36-generic:amd64 (4.15.0-36.39)
End-Date: 2018-11-15  08:40:08

So yes, it's possible that this was only a candidate for autoremoval
/after/ the previous run of update-manager had finished.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1803587

Title:
  kernel from bionic did not get autoremoved by either unattended-
  upgrades or update-manager

Status in unattended-upgrades package in Ubuntu:
  New
Status in update-manager package in Ubuntu:
  New

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-image-4.15.0-36-generic linux-modules-4.15.0-36-generic
    linux-modules-extra-4.15.0-36-generic

  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-4.18.0-10-generic          4.18.0-10.11 amd64        Signed kernel image generic
  ii  linux-image-4.18.0-11-generic          4.18.0-11.12 amd64        Signed kernel image generic
  ii  linux-image-generic                    4.18.0.11.12 amd64        Generic Linux kernel image
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1803587/+subscriptions



More information about the foundations-bugs mailing list