*** This bug is a duplicate of bug 1440608 ***
    https://bugs.launchpad.net/bugs/1440608

** This bug has been marked a duplicate of bug 1440608
   /etc/kernel/postinst.d/apt-auto-removal wants to remove all kernels except 
the latest one

-- 
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 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to