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

Re: Cannot remove thttpd

On Sun, Feb 24, 2008 at 05:56:57PM +0100, Peter Robinson wrote:

> 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.

That is interesting.  I skimmed the early parts of this thread, so I
don't know the context, but I recently had a similar disappearance of
grub.  I upgraded an etch laptop from 2.6.17 to 2.6.18 and it
mysteriously purged grub, removing the /boot/grub directory entirely.
This was left unresolved after a discussion ("2.6.18 problems with
grub and ACPI") on debian-laptop.

I wonder if there is a connection...



PS apologies if duplicated 

Reply to: