Bug#677072: grub-pc: dependency problems

Rob van der Hoeven robvanderhoeven at ziggo.nl
Mon Jun 11 11:04:03 UTC 2012


Package: grub-pc
Version: 1.99-21
Severity: critical
Tags: d-i
Justification: breaks the whole system

Dear Maintainer,

I'm not sure if this breaks the system. I suspect it does, but i'm not willing
to restart my system if there is a change it won't boot afterwards.

   * What led up to the situation?

Did:

apt-get update
apt-get upgrade

Output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 grub-pc : Depends: grub2-common (= 1.99-21) but 1.99-22 is installed
           Depends: grub-pc-bin (= 1.99-21) but 1.99-22 is installed
E: Unmet dependencies. Try using -f.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I tried:

apt-get -f install grub-pc

   * What was the outcome of this action?

The following packages will be upgraded:
  grub-pc
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/158 kB of archives.
After this operation, 16.4 kB disk space will be freed.
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 237, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 48, in main
    debs = apt_listchanges.read_apt_pipeline(config)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in
read_apt_pipeline
    return map(lambda pkg: filenames[pkg], order)
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 83, in <lambda>
    return map(lambda pkg: filenames[pkg], order)
KeyError: 'grub-pc'
dpkg: dependency problems prevent configuration of grub-pc:
 grub-pc depends on grub2-common (= 1.99-21); however:
  Version of grub2-common on system is 1.99-22.
 grub-pc depends on grub-pc-bin (= 1.99-21); however:
  Version of grub-pc-bin on system is 1.99-22.
dpkg: error processing grub-pc (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)




-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/224dc64b-0460-4ec0-889f-416d8097a07e / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
/dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 224dc64b-0460-4ec0-889f-416d8097a07e
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 224dc64b-0460-4ec0-889f-416d8097a07e
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 224dc64b-0460-4ec0-889f-416d8097a07e
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/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, with Linux 3.2.0-2-amd64' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 224dc64b-0460-4ec0-889f-416d8097a07e
	echo	'Loading Linux 3.2.0-2-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-2-amd64 root=UUID=224dc64b-0460-4ec0-889f-416d8097a07e ro i915.i915_enable_rc6=1 i915.i915_enable_fbc=1
i915.lvds_downclock=1 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 224dc64b-0460-4ec0-889f-416d8097a07e
	echo	'Loading Linux 3.2.0-2-amd64 ...'
	linux	/boot/vmlinuz-3.2.0-2-amd64 root=UUID=224dc64b-0460-4ec0-889f-416d8097a07e ro single i915.i915_enable_rc6=1 i915.i915_enable_fbc=1
i915.lvds_downclock=1
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

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

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 May 29 13:23 ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 13:23 ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 13:23 ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 13:23 ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 29 13:23 ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 May 29 13:23 scsi-SATA_WDC_WD5000AZDX-_WD-WMC1U0864844 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 13:23 scsi-SATA_WDC_WD5000AZDX-_WD-WMC1U0864844-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 13:23 scsi-SATA_WDC_WD5000AZDX-_WD-WMC1U0864844-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 13:23 scsi-SATA_WDC_WD5000AZDX-_WD-WMC1U0864844-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 29 13:23 scsi-SATA_WDC_WD5000AZDX-_WD-WMC1U0864844-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 May 29 13:23 wwn-0x50014ee0adbfdd65 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 13:23 wwn-0x50014ee0adbfdd65-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 13:23 wwn-0x50014ee0adbfdd65-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 13:23 wwn-0x50014ee0adbfdd65-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 29 13:23 wwn-0x50014ee0adbfdd65-part6 -> ../../sda6
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 May 29 13:23 224dc64b-0460-4ec0-889f-416d8097a07e -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 13:23 a4f06211-e836-4d4a-9828-92317843461d -> ../../sda6
lrwxrwxrwx 1 root root 10 May 29 13:23 d1abebb8-a583-4d69-8dee-15641f9a6a1d -> ../../sda5
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  grub-common            1.99-22
ii  grub-pc-bin            1.99-22
ii  grub2-common           1.99-22
ii  ucf                    3.0025+nmu3

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub-pc/kopt_extracted: false
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000AZDX-00SC2B0_WD-WMC1U0864844
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
* grub2/linux_cmdline: i915.i915_enable_rc6=1 i915.i915_enable_fbc=1
  grub-pc/install_devices_empty: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
  grub-pc/install_devices_failed: false
  grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
  grub-pc/chainload_from_menu.lst: true
  grub-pc/mixed_legacy_and_grub2: true





More information about the Pkg-grub-devel mailing list