Bug#547649: grub-pc postinst exit status 128

Felix Zielcke fzielcke at z-51.de
Mon Sep 21 12:41:41 UTC 2009


Am Montag, den 21.09.2009, 14:34 +0200 schrieb Arno Schuring:
> Felix Zielcke wrote:
> [...]
> > 
> > I hope you have at least time to do this: Change the first line of
> > /var/lib/dpkg/info/grub-pc.postinst from `#!/bin/bash -e' to
> > `#!/bin/bash -ex', i.e. add `x' then run DEBCONF_DEVELOPER=debug
> > /var/lib/dpkg/info/grub-pc.postinst configure 1.97~beta3-1
> 
> Here it is, but I'm afraid it won't really help you much.
> DEBCONF_DEVELOPER=debug seems to have no effect:

Bah I'm stupid. I thought I used copy&paste but I failed.
It's the other way around:
DEBCONF_DEBUG=developer

> root at neminis:~# DEBCONF_DEVELOPER=debug
> /var/lib/dpkg/info/grub-pc.postinst configure 1.97~beta3-1
> + case "$1" in
> + . /usr/share/debconf/confmodule
> ++ '[' '!' '' ']'
> ++ PERL_DL_NONLAZY=1
> ++ export PERL_DL_NONLAZY
> ++ '[' '' ']'
> ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst
> configure 1.97~beta3-1
> 

And you added the x to the shebang of grub-pc.postinst?
Maybe also add it in grub-pc.config.
I only get the above output if I run it with `bash
-x .../grub-pc.postinst' without adding a x in the shebang.


-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list