Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2024 17:43:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 275482] ports-mgmt/pkg: incorrectly complains about outdated os version
Message-ID:  <bug-275482-32340-f4brdnMKU2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275482-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275482-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275482

--- Comment #7 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Yes indeed.

And the output is interesting:

[0]# file /usr/bin/uname
/usr/bin/uname: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD),
dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.0
(1400500), FreeBSD-style, stripped
[0]# ll /usr/bin/uname
-r-xr-xr-x  1 root wheel 14336 Feb  9 20:49 /usr/bin/uname
[0]#=20

So it says 1400500 although it has been installed with the build of
a727d8d7f50f. And the way I update the system is to first installkernel
installworld it to a temporary directory and then to copy over only the cha=
nged
files (this is so that dump(8)s and zvol changes are minimized). So uname m=
ust
have changed when I did the NO_CLEAN buildworld, but still it says "for Fre=
eBSD
14.0 (1400500)".

Anyhow, does this mean that pkg fetches the system version from the uname
binary instead of getting the actual value from the running system?

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275482-32340-f4brdnMKU2>