Debian Bug report logs - #543632
subprocess installed post-installation script returned error exit status 10

version graph

Package: grub-pc; Maintainer for grub-pc is GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>; Source for grub-pc is src:grub2 (PTS, buildd, popcon).

Reported by: Antti-Juhani Kaijanaho <ajk@debian.org>

Date: Wed, 26 Aug 2009 08:21:02 UTC

Severity: serious

Merged with 543615, 543634, 543675, 543677, 543712

Found in versions grub2/1.96+20090825-1, grub2/1.96+20090826-1

Fixed in version 1.96+20090826-2

Done: Felix Zielcke <fzielcke@z-51.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#543632; Package grub-pc. (Wed, 26 Aug 2009 08:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Antti-Juhani Kaijanaho <ajk@debian.org>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 26 Aug 2009 08:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Antti-Juhani Kaijanaho <ajk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-pc: postinst failure
Date: Wed, 26 Aug 2009 11:18:54 +0300
Package: grub-pc
Version: 1.96+20090825-1
Severity: grave
Justification: renders package unusable

ajk@kukkaseppele:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
ajk@kukkaseppele:~$ sudo dpkg --configure -a
[sudo] password for ajk: 
Setting up grub-pc (1.96+20090825-1) ...
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 grub-pc
ajk@kukkaseppele:~$ 

I added "set -x" to the postinst and got this:
ajk@kukkaseppele:~$ sudo dpkg --configure -a
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
ajk@kukkaseppele:~$ 

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/kukkaseppele-root / ext3 rw,relatime,errors=remount-ro,data=journal 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=writeback 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** 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
set timeout=5
insmod lvm
set root=(kukkaseppele-root)
search --no-floppy --fs-uuid --set 57b45d47-0a69-49af-a624-552eded94571
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
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,1)
search --no-floppy --fs-uuid --set eacdb09b-33d9-426f-b164-880f7f5a600c
insmod png
if background_image /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_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30.5-ibid-1" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set eacdb09b-33d9-426f-b164-880f7f5a600c
	linux	/vmlinuz-2.6.30.5-ibid-1 root=/dev/mapper/kukkaseppele-root ro  rootflags=data=journal
	initrd	/initrd.img-2.6.30.5-ibid-1
}
menuentry "Debian GNU/Linux, Linux 2.6.30.5-ibid-1 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set eacdb09b-33d9-426f-b164-880f7f5a600c
	linux	/vmlinuz-2.6.30.5-ibid-1 root=/dev/mapper/kukkaseppele-root ro single 
	initrd	/initrd.img-2.6.30.5-ibid-1
}
### END /etc/grub.d/10_linux ###

### 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: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5-ibid-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.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  libc6                    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:
  grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#543632; Package grub-pc. (Wed, 26 Aug 2009 13:36:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sumedha Widyadharma <medha@asmw.de>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Wed, 26 Aug 2009 13:36:06 GMT) (full text, mbox, link).


Message #10 received at 543632@bugs.debian.org (full text, mbox, reply):

From: Sumedha Widyadharma <medha@asmw.de>
To: 543632@bugs.debian.org
Subject: [patch] swapped words
Date: Wed, 26 Aug 2009 15:23:36 +0200
Works for me:

--- grub-pc.config.orig 2009-08-26 15:06:51.031634804 +0200
+++ grub-pc.config  2009-08-26 15:04:28.415635343 +0200
@@ -25,7 +25,7 @@
 if test -e /etc/default/grub ; then
   . /etc/default/grub
 
-  [ -n $GRUB_CMDLINE_LINUX ] && db_set grub-pc/cmdline_linux "$GRUB_CMDLINE_LINUX"
+  [ -n $GRUB_CMDLINE_LINUX ] && db_set grub-pc/linux_cmdline "$GRUB_CMDLINE_LINUX"
   [ -n $GRUB_CMDLINE_LINUX_DEFAULT ] && db_set grub-pc/linux_cmdline_default "$GRUB_CMDLINE_LINUX_DEFAULT"
 fi





Forcibly Merged 543615 543632 543634 543675 543677. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Wed, 26 Aug 2009 13:48:14 GMT) (full text, mbox, link).


Forcibly Merged 543615 543632 543634 543675 543677 543712. Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Wed, 26 Aug 2009 15:54:06 GMT) (full text, mbox, link).


Changed Bug title to 'subprocess installed post-installation script returned error exit status 10' from 'grub-pc: postinst failure' Request was from Felix Zielcke <fzielcke@z-51.de> to control@bugs.debian.org. (Wed, 26 Aug 2009 15:54:15 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 24 Sep 2009 07:32:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:44:47 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.