Jean-Baptiste,

that doesn't do it. After my latest update the same happened to me and
grub *is* installed.

Good News is, i found out that there is obviously an error in the
install script and i was able to fix it the dirty way:

The following happened: 
...
Setting up linux-image-2.6.24-21-generic (2.6.24-21.43) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.24-21-generic
Could not find postinst hook script [usr/sbin/update-grub].
Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'
...

The problem seems to be the script looking for usr/sbin/update-grub in a
directory which is already /bin, /sbin, etc which leads to broken paths
like this:

/usr/sbin/usr/sbin/update-grub

so, i fixed it by creating the above directories and copying /usr/sbin
/update-grub there. Voila, update succeeds. Of course this is a very
dirty way to fix things but i don't have sufficient knowledge to
manipulate the packages and the scripts it contains. This bug will
probably affect a lot of people trying to update their system...

-- 
package linux-image-2.6.24-21-generic 2.6.24-21.43 failed to install/upgrade: 
subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/290113
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to