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

Robert Millan rmh at aybabtu.com
Sat Aug 2 20:34:27 UTC 2008


On Sat, Aug 02, 2008 at 01:27:49PM -0300, Henrique de Moraes Holschuh wrote:
> 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.

I don't think the ordering code has changed in a very long time.  Did you
observe this behaviour in earlier versions, or is it something new?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."





More information about the Pkg-grub-devel mailing list