Clean out old kernels
Thilo Six
T.Six at gmx.de
Sun Oct 7 00:27:27 UTC 2007
Derek Broughton wrote the following on 05.10.2007 14:28
<<-snip->>
>> You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub
>> instead!
>>
> Still? update-grub moved from /sbin to /usr/sbin, and a wrapper was placed
> in /sbin to invoke the new version but send this message. New versions of
> the kernel package should have the links right though the .postrm script
> for old versions might not.
For that i edit /etc/kernel-img.conf from:
postinst_hook = update-grub
postrm_hook = update-grub
to:
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
The warning then dissapears.
--
Thilo
key: 0x4A411E09
More information about the ubuntu-users
mailing list