Bug#489426: grub-pc: patches/02_old_linux_version_comparison.diff broke update-grub
Felix Zielcke
fzielcke at z-51.de
Sat Jul 5 16:12:01 UTC 2008
Package: grub-pc
Version: 1.96+20080704-1
Severity: grave
Justification: renders package unusable
Just installed grub2 from incoming
update-grub failed with the following:
# update-grub
Updating /boot/grub/grub.cfg ...
[: 212: ==: unexpected operator
Found linux image:
basename: missing operand
Try `basename --help' for more information.
In /etc/grub.d/10_linux line 137 must be changed from
[ `CompareVersions "$a" "$b"` == 1 ]
to
[ `CompareVersions "$a" "$b"` = 1 ]
i.e. changing == to =
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/root / ext4dev rw,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/root /dev/.static/dev ext4dev ro,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/sda1 /boot ext2 rw,errors=continue 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
*********************** END /boot/grub/device.map
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (1, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-rc8 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii grub-common 1.96+20080704-1 GRand Unified Bootloader, version
ii libc6 2.7-12 GNU C Library: Shared libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.6+20080621-2 shared libraries for terminal hand
grub-pc recommends no packages.
-- debconf information:
grub-pc/linux_cmdline: fillme
grub-pc/chainload_from_menu.lst: true
More information about the Pkg-grub-devel
mailing list