← Back to team overview

kernel-packages team mailing list archive

[Bug 374105] Re: linux-image-$ver packages leave cruft behind

 

from my latest aptitude run

===
Removing linux-backports-modules-cw-3.3-3.2.0-53-generic-pae ...
update-initramfs: Generating /boot/initrd.img-3.2.0-53-generic-pae
Purging configuration files for linux-backports-modules-cw-3.3-3.2.0-53-generic-pae ...
update-initramfs: Generating /boot/initrd.img-3.2.0-53-generic-pae
dpkg: warning: while removing linux-backports-modules-cw-3.3-3.2.0-53-generic-pae, directory '/lib/modules/3.2.0-53-generic-pae/updates' not empty so not removed.
Removing linux-headers-3.2.0-53-generic-pae ...
Removing linux-headers-3.2.0-53 ...
Removing linux-headers-lbm-3.2.0-54-generic-pae ...
(Reading database ... 370695 files and directories currently installed.)
===

$ find /lib/modules/3.2.0-53-generic-pae/updates/dkms/
/lib/modules/3.2.0-53-generic-pae/updates/dkms/
/lib/modules/3.2.0-53-generic-pae/updates/dkms/tp_smapi.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/thinkpad_ec.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/vboxnetadp.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/vboxnetflt.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/vboxpci.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/hdaps.ko
/lib/modules/3.2.0-53-generic-pae/updates/dkms/vboxdrv.ko

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/374105

Title:
  linux-image-$ver packages leave cruft behind

Status in “linux” package in Ubuntu:
  Confirmed
Status in “virtualbox” package in Ubuntu:
  New

Bug description:
  $ ll /lib/modules/
  total 6,0K
  drwxr-xr-x 8 root root 1,0K 2009-03-10 02:41 2.6.24-23-386
  drwxr-xr-x 2 root root 1,0K 2009-03-23 05:13 2.6.28-10-generic
  drwxr-xr-x 5 root root 1,0K 2009-04-20 08:55 2.6.28-11-generic
  drwxr-xr-x 2 root root 1,0K 2009-03-17 05:54 2.6.28-4-386
  drwxr-xr-x 3 root root 1,0K 2009-03-15 04:12 2.6.28-8-generic
  drwxr-xr-x 3 root root 1,0K 2009-03-12 02:18 2.6.28-9-generic

  $ dpkg -l linux-image*|grep ii
  ii  linux-image                                2.6.28.11.15                         Generic Linux kernel image.
  ii  linux-image-2.6.24-23-386                  2.6.24-23.48                         Linux kernel image for version 2.6.24 on i38
  ii  linux-image-2.6.28-11-generic              2.6.28-11.42                         Linux kernel image for version 2.6.28 on x86
  ii  linux-image-generic                        2.6.28.11.15                         Generic Linux kernel image

  $ dpkg -S /lib/modules/*/modules.seriomap 
  linux-image-2.6.24-23-386: /lib/modules/2.6.24-23-386/modules.seriomap
  dpkg: /lib/modules/2.6.28-10-generic/modules.seriomap not found.
  dpkg: /lib/modules/2.6.28-11-generic/modules.seriomap not found.

  2.6.28-10-generic looks like a superseded package that did not
  properly clean up after itself

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/374105/+subscriptions