Bug#1130656: [grub2] wrong kernel version order

Ben Hutchings ben at decadent.org.uk
Wed Mar 18 13:03:35 GMT 2026


Control: unblock 1113728 with 1130656
Control: reassign -1 src:linux
Control: forcemerge 1113728 1130656
Control: affects 1113728 src:grub2

On Fri, 13 Mar 2026 21:00:03 +0000 Lyndon Brown <jnqnfe at gmail.com>
wrote:
> Source: grub2
> Version: 2.14-2
> Severity: important
> 
> On Sid we've just had a kernel update from 6.19.6-1 to 6.19.6-2. The
> former came with the package named 'linux-image-6.19.6+deb14-amd64'.
> The latter replaced this with a version of '6.19.6+deb14+1'.
[...]
> So it seems that grub is failing to recognise that '6.19.6+deb14+1' is
> a newer version than '6.19.6+deb14'.

The comparison is between '6.19.6+deb14-amd64' and '6.19.6+deb14+1-
amd64', and '+' sorts before '-' so we get the unintended ordering.

This is not a bug in GRUB.  The kernel team (and more specifically I)
got the kernel version string generation wrong and we will need to fix
it.

Ben.

-- 
Ben Hutchings
Knowledge is power.  France is bacon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20260318/b9502a6f/attachment.sig>


More information about the Pkg-grub-devel mailing list