[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot remove thttpd



Florian Kulzer wrote:
On Sun, Feb 24, 2008 at 11:13:23 +0100, Peter Robinson wrote:

[...]

Thanks, that solved the problem with thttpd...but now I get the following error message from aptitude:

Using mkinitramfs-kpkg to build the ramdisk.

[...]

Running postinst hook script update-grub.
User postinst hook script [update-grub] failed to execute: No such file or directory
dpkg: error processing linux-image-2.6.24-1-686 (--configure):
subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
linux-image-2.6-686 depends on linux-image-2.6.24-1-686; however:
 Package linux-image-2.6.24-1-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.24-1-686
linux-image-2.6-686

Take a look at /etc/kernel-img.conf and make sure that the postinst_hook
and the postrm_hook give the full path to the update-grub script, i.e.
these two lines should look like this:

postinst_hook = /usr/sbin/update-grub
postrm_hook   = /usr/sbin/update-grub

Also try to run "update-grub" as root; are there any error messages?

Thanks, for some reason grub was not installed according to aptitude (although I had been nooting without problems). I installed the grub package and seemed to solve the problem.
:-0} Peter


Reply to: