Bug#586576: linux-image-2.6.32-5-686: apt-get/dpkg postinst update-initramfs fails for 2.6.32-5-686 but works on cmdline

Ben Hutchings ben at decadent.org.uk
Mon Jun 21 18:25:02 UTC 2010


On Mon, Jun 21, 2010 at 09:41:56AM -0700, Mark Hedges wrote:
> On Sun, 20 Jun 2010, Ben Hutchings wrote:
> >
> > Read more carefully.  It's grub that failed.  I'm reassigning this
> > accordingly.
> 
> Are we sure about that?  The errors occur before running update-grub.
 
There were some messages emitted before update-grub ran, but they do not
actually indicate errors.

> It seems like what is needed here is 'if $DEBUG' as a postfix if conditional
> after the warn statement on line 400 of linux-image-2.6.32-5-686.postinst.
> Maybe everything is working fine, but apt-get sees STDERR output and thinks
> that means it did not work.  All the other warn statements in the postinst
> script have that conditional.
[...]

No, apt-get looks only at the exit code.
 
Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus





More information about the Pkg-grub-devel mailing list