Bug#493389: update-grub: uses wrong ordering algorithm (sorts 1.2.3-foo before 1.2.3.1-foo)

Henrique de Moraes Holschuh hmh at debian.org
Sat Aug 2 16:27:49 UTC 2008


Package: grub
Version: 0.97-44
Severity: important

update-grub is giving me this ordering, here:

Found kernel: /vmlinuz-2.6.25.14-t43
Found kernel: /vmlinuz-2.6.25.14.1-t43
Found kernel: /vmlinuz-2.6.25.13-t43
Found kernel: /vmlinuz-2.6.25.12-t43

which is broken.  The second entry should have been sorted at a higher
priority than the first entry.

This causes the wrong kernel (i.e. not the newest one) to be the default
image.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.16.55-debian13+bluesmoke+lm85 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh





More information about the Pkg-grub-devel mailing list