[Bug 16310] New: Some directories do not get removed on purge

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sun Sep 25 16:22:46 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=16310
Ubuntu | linux

           Summary: Some directories do not get removed on purge
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: linux
        AssignedTo: ben.collins at ubuntu.com
        ReportedBy: chipzz at ulyssis.org
         QAContact: kernel-bugs at lists.ubuntu.com


root at Vertex:~ # uname -a
Linux Vertex 2.6.12-8-686 #1 Thu Sep 15 21:32:25 UTC 2005 i686 GNU/Linux
root at Vertex:~ # apt-get --purge remove linux-image-2.6.12-7-686
...
The following packages will be REMOVED:
  linux-image-2.6.12-7-686* linux-restricted-modules-2.6.12-7-686*
...
Removing linux-restricted-modules-2.6.12-7-686 ...
Removing linux-image-2.6.12-7-686 ...
Searching for GRUB installation directory ... found: /boot/grub .
...
Purging configuration files for linux-image-2.6.12-7-686 ...
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.12-8-686
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

rmdir: `/lib/modules/2.6.12-7-686': Directory not empty
dpkg - warning: while removing linux-image-2.6.12-7-686, directory
`/lib/modules/2.6.12-7-686' not empty so not removed.
root at Vertex:~ # find /lib/modules/2.6.12-7-686
/lib/modules/2.6.12-7-686
/lib/modules/2.6.12-7-686/volatile

When upgrading a running kernel, the situation is even worse (iirc).

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list