Bug#395359: Post-removal script fails on purge of linux-image-2.6.17-2-amd64
Package: linux-image-2.6.17-2-amd64
Version: 2.6.17-9
When I attempt to purge linux-image-2.6.17-2-amd64 from my Debian
laptop, I get the following:
-- SNIP --
rattlesnake:~# dpkg --purge linux-image-2.6.17-2-amd64
(Reading database ... 35182 files and directories currently installed.)
Removing linux-image-2.6.17-2-amd64 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17
Found kernel: /boot/vmlinuz-2.6.16
Found kernel: /boot/vmlinuz-2.6.15
Updating /boot/grub/menu.lst ... done
The link /boot/vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
The link /boot/initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
Purging configuration files for linux-image-2.6.17-2-amd64 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17
Found kernel: /boot/vmlinuz-2.6.16
Found kernel: /boot/vmlinuz-2.6.15
Updating /boot/grub/menu.lst ... done
dpkg: error processing linux-image-2.6.17-2-amd64 (--purge):
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
linux-image-2.6.17-2-amd64
-- END SNIP --
I'm running Debian tesing with kernel 2.6.16 and libc6 2.3.6.ds1-4
Reply to: