removal of linux-image package leaves /lib/modules/`uname -r`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ec2 (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Karmic |
Won't Fix
|
Medium
|
Leann Ogasawara |
Bug Description
SRU Justification/
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 8b453930465c15f
TEST CASE (Karmic):
install linux-image-
sudo apt-get remove --purge linux-image-
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-
=====
removing the linux-image-
$ sudo apt-get remove --purge linux-image-
...
Purging configuration files for linux-image-
dpkg: warning: while removing linux-image-
$ ls -l /lib/modules/
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-
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux-ec2
Uname: Linux 2.6.32-302-ec2 i686
Changed in linux-ec2 (Ubuntu Karmic): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in linux-ec2 (Ubuntu): | |
assignee: | nobody → Andy Whitcroft (apw) |
Changed in linux-ec2 (Ubuntu Karmic): | |
assignee: | nobody → Leann Ogasawara (leannogasawara) |
status: | Triaged → In Progress |
description: | updated |
Changed in linux-ec2 (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in linux-ec2 (Ubuntu Karmic): | |
status: | In Progress → Fix Committed |
Changed in linux-ec2 (Ubuntu Karmic): | |
status: | Fix Committed → Won't Fix |
Looks like a similar patch that was applied to debian. master/ control- scripts/ prerm needs to be applied to debian. ec2/control- scripts/ prerm. Below is the patch that was applied to debian.master:
commit 8b453930465c15f 490ea44c2987b0a 1bfe71ed66
Author: Bryan Wu <email address hidden>
Date: Wed Mar 25 17:31:26 2009 +0800
UBUNTU: Add 3 missing files to prerm remove file list