[patch] dpkg warning about modules directory not empty while removing kernel packages
Bug #514168 reported by
Andrej Rohaŭ
This bug report is a duplicate of:
Bug #516584: modules.builtin.bin not removed on package removal.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Recent depmod generates an additional modules.builtin.bin depfile based on modules.builtin included in the kernel. It should be removed along with other depfiles in the prerm control script or dpkg does not remove the directory, emits a warning and leaves the cruft behind.
dpkg: warning: while removing linux-image-
$ ls -la /lib/modules/
total 20
drwxr-xr-x 2 root root 4096 2010-01-29 09:04 .
drwxr-xr-x 5 root root 4096 2010-01-28 20:55 ..
-rw-r--r-- 1 root root 8871 2010-01-25 10:05 modules.builtin.bin
Package: linux-image-
Version: 2.6.32-10.14
To post a comment you must log in.
Hi Andrei,
Thanks for the patch. This however looks to be a duplicate of bug 516584 in which a similar patch has already been applied and released. As a result I'm going to mark this as a duplicate of bug 516584. Thanks.