** Description changed: + SRU Justification/Impact (Karmic): + Purge fails to completely remove files from /lib/modules/`uname -r`. Subsequently a warning is displayed and /lib/modules/`uname -r` is not completely removed. A similar fix to resolve this issue was applied to the master branch via commit 8b453930465c15f490ea44c2987b0a1bfe71ed66. Apply the same fix to the Karmic ec2 branch. + + TEST CASE (Karmic): + install linux-image-2.6.31-30x.y and verify /lib/modules/2.6.31-30x-ec2 exists + sudo apt-get remove --purge linux-image-2.6.31-30x.y and verify /lib/modules/2.6.31-30x-ec2 has been completely removed + + It's my understanding the issue currently exists in lucid but will be + soon a non-issue with recent changes which pull in common files (like + control-scripts/prerm) into the debian dir. + + ===== + 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 + 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
-- removal of linux-image package leaves /lib/modules/`uname -r` https://bugs.launchpad.net/bugs/524180 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
