Bug#543615: dependency between grub2 and grub-pc preventing each from installing

Hristo Hristov xpertbg at mail.bg
Wed Aug 26 14:09:31 UTC 2009


Package: grub-pc
Version: 1.96+20090826-1
Severity: normal

This bug seem to be still present in version 1.96+20090826-1:
# sudo LANG=C DEBCONF_DEBUG=developer dpkg -i downloads/grub-pc_1.96+20090826-1_amd64.deb 
(Reading database ... 349816 files and directories currently installed.)
Preparing to replace grub-pc 1.96+20090826-1 (using .../grub-pc_1.96+20090826-1_amd64.deb) ...
Unpacking replacement grub-pc ...
Setting up grub-pc (1.96+20090826-1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is grub-pc
debconf (developer): starting /var/lib/dpkg/info/grub-pc.config configure 1.96+20090808-1
debconf (developer): <-- SET grub-pc/linux_cmdline 
debconf (developer): --> 0 value set
debconf (developer): <-- SET grub-pc/linux_cmdline_default quiet
debconf (developer): --> 10 grub-pc/linux_cmdline_default doesn't exist
dpkg: error processing grub-pc (--install):
 subprocess installed post-installation script returned error exit status 10
Processing triggers for man-db ...
Errors were encountered while processing:
 grub-pc


Added 'set -x' to /var/lib/dpkg/info/grub-pc.postinst :
# dpkg --configure grub-pc
Setting up grub-pc (1.96+20090826-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

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/46dad5f3-9304-45f4-9116-14006271e30f / ext3 rw,relatime,errors=remount-ro,commit=5,data=ordered 0 0
/dev/sda3 /home ext3 rw,relatime,errors=continue,commit=5,data=ordered 0 0
/dev/sda1 /mnt/winc fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096 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
set root=(hd0,6)
search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
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,6)
search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
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_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.31-rc6-amd64" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc6-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro  quiet
	initrd	/boot/initrd.img-2.6.31-rc6-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc6-amd64 (recovery mode)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc6-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro single 
	initrd	/boot/initrd.img-2.6.31-rc6-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc5-amd64" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc5-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro  quiet
	initrd	/boot/initrd.img-2.6.31-rc5-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc5-amd64 (recovery mode)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc5-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro single 
	initrd	/boot/initrd.img-2.6.31-rc5-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc4-amd64" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc4-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro  quiet
	initrd	/boot/initrd.img-2.6.31-rc4-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc4-amd64 (recovery mode)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc4-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro single 
	initrd	/boot/initrd.img-2.6.31-rc4-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc3-amd64" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc3-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro  quiet
	initrd	/boot/initrd.img-2.6.31-rc3-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.31-rc3-amd64 (recovery mode)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.31-rc3-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro single 
	initrd	/boot/initrd.img-2.6.31-rc3-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set 46dad5f3-9304-45f4-9116-14006271e30f
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=46dad5f3-9304-45f4-9116-14006271e30f ro single 
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_other ###
menuentry "Windows Vista" {
	set root=(hd0,1)
    chainloader +1
}

menuentry "HP Recovery" {
	set root=(hd0,2)
    chainloader +1
}

### END /etc/grub.d/30_other ###

### 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, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.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+20090826-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: false
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda





More information about the Pkg-grub-devel mailing list