Ubuntu

Comment 0 for bug 524180

Scott Moser (smoser) wrote :

removing the linux-image-2.6.32-302-ec2 package leaves the module dir around.

$ sudo apt-get remove --purge linux-image-2.6.32-302-ec2
...
Purging configuration files for linux-image-2.6.32-302-ec2 ...
dpkg: warning: while removing linux-image-2.6.32-302-ec2, directory '/lib/modules/2.6.32-302-ec2' not empty so not removed.

$ ls -l /lib/modules/2.6.32-302-ec2
total 776
-rw-r--r-- 1 root root 360846 2010-02-18 01:33 modules.alias.bin
-rw-r--r-- 1 root root 218492 2010-02-18 01:33 modules.dep.bin
-rw-r--r-- 1 root root 195836 2010-02-18 01:33 modules.symbols.bin

the files above were created (I belive) by the installation of the package, they should be correctly removed on removal.

ProblemType: Bug
Architecture: i386
Date: Fri Feb 19 01:21:19 2010
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-302-ec2 2.6.32-302.6
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: User Name 2.6.32-302.6-ec2
SourcePackage: linux-ec2
Uname: Linux 2.6.32-302-ec2 i686