Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89060

Bug#1113728: linux: new ABI versioning prevents linux-version and other tools from correctly sorting Debian revisions

From NoisyCoil <noisycoil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1113728: linux: new ABI versioning prevents linux-version and other tools from correctly sorting Debian revisions
Date 2025-09-01 21:20 +0200
Message-ID <Lqiem-c4e6-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 6.16.3-1
Severity: important
Tags: trixie forky
X-Debbugs-Cc: noisycoil@debian.org
Control: affects -1 + grub2-common

Dear Maintainer,

In [1], which was later backported to stable, a '+N' suffix was added to the
ABI of kernel releases with Debian revision N >= 2, e.g.

6.16.3-1 -> 6.16.3+deb14-arm64
6.16.3-2 -> 6.16.3+deb14+1-arm64

linux-version and other tools, most notably update-grub/grub-mkconfig (which
currently internally uses `sort -V` and `sort -n`), sort '+' lower than '-'.
Since version sorting takes kernel flavor into account, all Debian revisions
with N >= 2 sort lower than the first Debian revision. One consequence of this
is grub never picks later Debian revisions as the default kernel.

Cheers!


[1] https://salsa.debian.org/kernel-team/linux/-/merge_requests/1524

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1113728: linux: new ABI versioning prevents linux-version and other tools from correctly sorting Debian revisions NoisyCoil <noisycoil@debian.org> - 2025-09-01 21:20 +0200

csiph-web