Comment 3 for bug 310223

Revision history for this message
Florian Hengartner (fhengartner) wrote :

The other file is "main_pre_req.log" which I add with this comment, and there's also a file "apt.log" which is empty, thus i skip that.

the reason it fails is because "/sbin/update-grub" does not exist.
but it is specified as postinst hook in /etc/kernel-img.conf.

two things are wrong:
1. i use lilo! - why is kernel-img.conf configured to use grub?
2. when i installed grub, the path was still wrong!

to the whole mess i did this:
- download grub package from packages.ubuntu.org
- change /etc/kernel-image.conf from
   postinst_hook = /sbin/update-grub
   postrm_hook = /sbin/update-grub
to:
   postinst_hook = update-grub
   postrm_hook = update-grub
- sudo apt-get -f install