Your message dated Mon, 11 Jun 2012 14:46:19 +0100
with message-id <20120611134619.gb1...@riva.dynamic.greenend.org.uk>
and subject line Re: Bug#677072: grub-pc: dependency problems
has caused the Debian Bug report #677072,
regarding grub-pc: dependency problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
677072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677072
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
On Mon, Jun 11, 2012 at 01:04:03PM +0200, Rob van der Hoeven wrote:
> 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.

Sorry, but this isn't a bug in the grub2 packaging.  You have some odd
local inconsistency in the set of packages installed on your system, and
apt sometimes responds to this by dropping into a very conservative mode
and refusing to follow dependency chains.

> 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'

If apt-listchanges is broken, it has nothing to do with grub-pc.  I
don't know whether this caused your problem; it seems a little unlikely
but I suppose it's possible.

> 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.

The version of grub-pc in testing and unstable is 1.99-22, and I have
double-checked that it depends on grub2-common (= 1.99-22) and
grub-pc-bin (= 1.99-22), not 1.99-21.  This looks like an attempt to
install a slightly older version of grub-pc for some reason, which won't
work.

Try 'apt-get -f install' with no arguments, although be careful about
any packages it proposes removing.  Failing that, try 'apt-get install
grub-pc=1.99-22' to force the correct version.  Failing that, try
downloading the .deb for grub-pc 1.99-22 directly and installing it with
dpkg.  It should be entirely possible to get out of whatever tangled
state things are in.

Regards,

-- 
Colin Watson                                       [cjwat...@debian.org]


--- End Message ---

Reply via email to