← Back to team overview

touch-packages team mailing list archive

[Bug 1446269] [NEW] autoremove kernel management leaves one single kernel

 

Public bug reported:

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)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

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

Title:
  autoremove kernel management leaves one single kernel

Status in apt package in Ubuntu:
  New

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/ubuntu/+source/apt/+bug/1446269/+subscriptions


Follow ups

References