Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#73354 - [linux] pkgver and kernel version

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Friday, 14 January 2022, 05:52 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 08 February 2022, 16:27 GMT
Task Type Bug Report
Category Kernel
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



uname -a

shows 5.16.0-arch1-1

But pkgver in PKGBUILD ommits the 0 in the version number:


This troubles some of my monitoring scripts. :-)

Is this change intentional?

Additional info:
* package version(s): 5.16.arch-1
This task depends upon

Comment by Maxim (mxfm) - Saturday, 15 January 2022, 07:47 GMT
This is not intentional change, this happens each time the second version number is updated, archlinux here follows mainstream version.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 08 February 2022, 22:22 GMT
This difference between the kernel's internal version and the versioning used in the git tags (and the resulting tarballs) is unfortunate but inherited from upstream.