Bug#543677: grub-pc: subprocess installed post-installation script returned error exit status 10
Axel Beckert
abe at deuxchevaux.org
Wed Aug 26 12:47:53 UTC 2009
Package: grub-pc
Version: 1.96+20090825-1
Severity: normal
With the recent upgrade, grub-pc's postinst exits with return value 10
after calling the debconf frontend. I added -x to the postinst script
to see where it's exiting. Here's the output:
[…]
Setting up grub-pc (1.96+20090825-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.96+20090808-1
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
grub-pc
[…]
As far as I remember this wasn't the case with the previous version.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/ad0s1a / ufs rw 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/ad0
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ufs2
set root=(hd0,1,a)
search --no-floppy --fs-uuid --set 49c265649d15ddd7
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod ufs2
set root=(hd0,1,a)
search --no-floppy --fs-uuid --set 49c265649d15ddd7
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_freebsd ###
menuentry "Debian GNU/kFreeBSD, kFreeBSD 8.0-0-686-smp" {
insmod ufs2
set root=(hd0,1,a)
search --no-floppy --fs-uuid --set 49c265649d15ddd7
freebsd /boot/kfreebsd-8.0-0-686-smp.gz
set FreeBSD.vfs.root.mountfrom=ufs2:/dev/ad0s1a
set FreeBSD.vfs.root.mountfrom.options=rw
}
menuentry "Debian GNU/kFreeBSD, kFreeBSD 7.2-1-686-smp" {
insmod ufs2
set root=(hd0,1,a)
search --no-floppy --fs-uuid --set 49c265649d15ddd7
freebsd /boot/kfreebsd-7.2-1-686-smp.gz
freebsd_module_elf /lib/modules/7.2-1-686-smp/acpi.ko
set FreeBSD.vfs.root.mountfrom=ufs2:/dev/ad0s1a
set FreeBSD.vfs.root.mountfrom.options=rw
}
menuentry "Debian GNU/kFreeBSD, kFreeBSD 7.1-1-686-smp" {
insmod ufs2
set root=(hd0,1,a)
search --no-floppy --fs-uuid --set 49c265649d15ddd7
freebsd /boot/kfreebsd-7.1-1-686-smp.gz
freebsd_module_elf /lib/modules/7.1-1-686-smp/acpi.ko
set FreeBSD.vfs.root.mountfrom=ufs2:/dev/ad0s1a
set FreeBSD.vfs.root.mountfrom.options=rw
}
### END /etc/grub.d/10_freebsd ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.2-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii grub-common 1.96+20090825-1 GRand Unified Bootloader, version
ii libc0.1 2.9-25 GNU C Library: Shared libraries
ii ucf 3.0020 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem
-- debconf information:
grub-pc/linux_cmdline: fillme
grub2/linux_cmdline:
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/ad0
grub-pc/postrm_purge_boot_grub: false
grub2/linux_cmdline_default: quiet
More information about the Pkg-grub-devel
mailing list