Clean out old kernels
Jimmy Wu
jimmywu013 at gmail.com
Sun Oct 7 02:42:35 UTC 2007
On 10/6/07, Thilo Six <T.Six at gmx.de> wrote:
>
> 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
>
Thanks for the tip!
Jimmy
--
Registered Linux User #454138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071006/cb6c6346/attachment.html>
More information about the ubuntu-users
mailing list