** Description changed: This important security update failed. It was notified, as all updates, by Update Manager (in the Hardy Important Security updates). I expected the package to install normally but instead it crashed and I was invited to fill in this report. DistroRelease: Ubuntu 8.04 - ERROR: + :: Symptoms :: Setting up linux-image-2.6.24-19-generic (2.6.24-19.41) ... Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic Could not find postinst hook script [usr/sbin/update-grub]. Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin' dpkg: error processing linux-image-2.6.24-19-generic (--configure): subprocess post-installation script returned error exit status 2 - Nothing protects the user against the removal of grub, then all updates - of the kernel will fail. + :: Test Case :: + (DONT DO THAT ON A PRODUCTION SYSTEM) + Run the following command: + sudo apt-get remove --purge grub + + Nothing complains about it and you don't have a boot loader anymore. + + :: Workaround:: + Install grub by running following commands on a console/shell: + sudo apt-get install --reinstall grub + + It should bring you back the /usr/sbin/update-grub file. + + + Nothing protects the user against the removal of grub, then all updates of the kernel will fail.
** Tags removed: cft-2.6.27 -- installation of kernel image failed: Could not find postinst hook script [usr/sbin/update-grub] https://bugs.launchpad.net/bugs/261392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
