[Bug 1446269] Re: autoremove kernel management leaves one single kernel

Adam Conrad adconrad at 0c3.net
Sat Aug 1 08:09:34 UTC 2015


The "leaves conffiles behind" complaint is entirely unrelated, and
solved by using "apt-get --purge autoremove"

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

Title:
  autoremove kernel management leaves one single kernel

Status in One Hundred Papercuts:
  Confirmed
Status in apt package in Ubuntu:
  Confirmed

Bug description:
  After a kernel upgrade, autoremove removes kernel -2
  This is normal.
  BUT :
  If, a new update/full-upgrade is entered, apt suggests an autoremove for kernel -1
  If one performs the autoremove, it leaves the system with a single kernel :

  :~$ dpkg -l | grep -Ei "linux-headers|linux-image"
  ii  linux-headers-3.19.0-15                                     3.19.0-15.15                               all          Header files related to Linux kernel version 3.19.0
  ii  linux-headers-3.19.0-15-generic                             3.19.0-15.15                               amd64        Linux kernel headers for version 3.19.0 on 64 bit x86 SMP
  ii  linux-headers-generic                                       3.19.0.15.14                               amd64        Generic Linux kernel headers
  rc  linux-image-3.19.0-13-generic                               3.19.0-13.13                               amd64        Linux kernel image for version 3.19.0 on 64 bit x86 SMP
  rc  linux-image-3.19.0-14-generic                               3.19.0-14.14                               amd64        Linux kernel image for version 3.19.0 on 64 bit x86 SMP
  ii  linux-image-3.19.0-15-generic                               3.19.0-15.15                               amd64        Linux kernel image for version 3.19.0 on 64 bit x86 SMP
  rc  linux-image-extra-3.19.0-13-generic                         3.19.0-13.13                               amd64        Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
  rc  linux-image-extra-3.19.0-14-generic                         3.19.0-14.14                               amd64        Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
  ii  linux-image-extra-3.19.0-15-generic                         3.19.0-15.15                               amd64        Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
  ii  linux-image-generic                                         3.19.0.15.14                               amd64        Generic Linux kernel image

  By the way, autoremove also leaves a bunch of rc files that need to be wiped with : 
  dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge

  Having a single kernel is highly uneasy !

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: apt 1.0.9.7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Mon Apr 20 16:52:14 2015
  InstallationDate: Installed on 2015-02-07 (71 days ago)
  InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1446269/+subscriptions



More information about the foundations-bugs mailing list