I have to add that I changed /etc/kernel-img.conf from ,----[ /etc/kernel-img.conf ] | ... | postinst_hook = /sbin/update-grub | postrm_hook = /sbin/update-grub `---- to ,----[ /etc/kernel-img.conf ] | ... | postinst_hook = update-grub | postrm_hook = update-grub `----
as promoted by NEWS.Debian, grub 0.97-14. If I use absolute paths again, the postrm hook is called, but the deinstallation fails: dpkg --purge linux-image-2.6.18-rc6 (Reading database ... 219039 files and directories currently installed.) Removing linux-image-2.6.18-rc6 ... 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.18-rc7 Found kernel: /boot/vmlinuz-2.6.17.13 Updating /boot/grub/menu.lst ... done Purging configuration files for linux-image-2.6.18-rc6 ... 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.18-rc7 Found kernel: /boot/vmlinuz-2.6.17.13 Updating /boot/grub/menu.lst ... done dpkg: error processing linux-image-2.6.18-rc6 (--purge): subprocess post-removal script returned error exit status 128 Errors were encountered while processing: linux-image-2.6.18-rc6 HTH, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

