FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.

I installed Ubuntu 8.10 on my Toshiba U100 which does not work too well with grub.  Having installed 8.10 and replaced Grub with Lilo I ran update manager for all updates.

This failed when updating the kernel with the error ‘Could not find postinst hook script [update-grub]’.

To fix after running the update manager simply open a terminal and run the following commands.

First ‘trick’ the update script:

sudo ln -s /bin/true /sbin/update-grub
Then reinstall the failed kernel updates:

sudo apt-get upgrade

IMPORTANT: If like me you’re running Lilo then you must run lilo after any kernel upgrade:

lilo

This resolved it for me - took some head scratching so hope it helps someone else.

0 Responses to “FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.”


  1. No Comments



Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS