Bug#594037: postrm.d/zz-update-grub doesn't call update-grub for old lenny kernels
Hannes von Haugwitz
hannes at vonhaugwitz.com
Mon Aug 23 08:19:43 UTC 2010
Package: grub-pc
Version: 1.98+20100804-2
Severity: important
Hi,
after upgrading one of my lenny systems to squeeze I purged the old lenny
packages:
# aptitude purge gcc-4.2-base libcap1 libvolume-id0 linux-image-2.6.26-1-amd64 mailx libept0 linux-image-2.6.26-2-amd64
The following packages will be REMOVED:
gcc-4.2-base{p} libcap1{p} libept0{p} libvolume-id0{p} linux-image-2.6.26-1-amd64{p} linux-image-2.6.26-2-amd64{p} mailx{p}
0 packages upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 166MB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 28577 files and directories currently installed.)
Removing gcc-4.2-base ...
Removing libcap1 ...
Removing libept0 ...
Purging configuration files for libept0 ...
Removing libvolume-id0 ...
Purging configuration files for libvolume-id0 ...
Removing linux-image-2.6.26-1-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-1-amd64 /boot/vmlinuz-2.6.26-1-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-1-amd64 /boot/vmlinuz-2.6.26-1-amd64
Purging configuration files for linux-image-2.6.26-1-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-1-amd64 /boot/vmlinuz-2.6.26-1-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-1-amd64 /boot/vmlinuz-2.6.26-1-amd64
Removing linux-image-2.6.26-2-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-amd64 /boot/vmlinuz-2.6.26-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-amd64 /boot/vmlinuz-2.6.26-2-amd64
Purging configuration files for linux-image-2.6.26-2-amd64 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-amd64 /boot/vmlinuz-2.6.26-2-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-amd64 /boot/vmlinuz-2.6.26-2-amd64
Removing mailx ...
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 161 files, found 130
Current status: 10337 new [-1].
#
It seems that zz-update-grub does not call update-grub for the old lenny kernels.
I manually called update-grub, which works fine.
Greetings
Hannes
More information about the Pkg-grub-devel
mailing list