Package: grub-pc Version: 1.98+20100804-8 Severity: critical File: /etc/kernel/post*.d/zz-update-grub Tags: patch Justification: breaks unrelated software
when grub-pc is removed but not purged, it causes kernel upgrades to fail as /etc/kernel/post*.d/zz-update-grub unconditionally call update-grub, which is not present when grub-pc is removed. the following patch should hopefully fix this, though it might be better to be more verbose about what is happening or detect update-grub some other way: diff -u debian/kernel/zz-update-grub.orig debian/kernel/zz-update-grub --- debian/kernel/zz-update-grub.orig 2010-12-06 22:38:36.000000000 -0800 +++ debian/kernel/zz-update-grub 2010-12-06 22:39:23.000000000 -0800 @@ -1,6 +1,7 @@ #! /bin/sh set -e +if [ -x /usr/sbin/update-grub ]; then set -- $DEB_MAINT_PARAMS mode="${1#\'}" mode="${mode%\'}" @@ -13,5 +14,6 @@ exec update-grub ;; esac +fi exit 0 live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org