Bug#547649: grub-pc postinst exit status 128
Felix Zielcke
fzielcke at z-51.de
Mon Sep 21 11:45:24 UTC 2009
Am Montag, den 21.09.2009, 13:14 +0200 schrieb Arno Schuring:
> Package: grub-pc
> Version: 1.97~beta3-1
> Severity: important
>
> dist-upgrade today tried to install grub-pc as a replacement for grub-legacy.
>
> Installation went fine, then I was presented with the debconf dialog to chainload grub-pc from grub-legacy. No matter which option I choose in that dialog (yes or no), I get the following error:
>
> aschuring at neminis:~$ sudo dpkg --configure -a
> Setting up grub-pc (1.97~beta3-1) ...
> dpkg: error processing grub-pc (--configure):
> subprocess installed post-installation script returned error exit status 128
> dpkg: dependency problems prevent configuration of grub:
> grub depends on grub-pc; however:
> Package grub-pc is not configured yet.
> dpkg: error processing grub (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> grub-pc
> grub
>
>
> I'm sorry I can't provide more information. I'm not familiar with either Perl or debconf and I don't have time to debug the scripts.
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
--
Felix Zielcke
Proud Debian Maintainer
More information about the Pkg-grub-devel
mailing list