Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 02:07:54 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD-pkgbase@freebsd.org
Subject:   pkgbase sometimes reported package vs. running kernel mismatches [ 1400505 vs. 1400501] (despite uname -KU producing 1400505 1400505)
Message-ID:  <33A2E7A8-0A46-48F5-BF1D-4BA5921703E3@yahoo.com>
References:  <33A2E7A8-0A46-48F5-BF1D-4BA5921703E3.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I got some odd reports of the likes of:

Newer FreeBSD version for package FreeBSD-tcpd-lib32:
To ignore this error set IGNORE_OSVERSION=3Dyes
- package: 1400505
- running kernel: 1400501
Ignore the mismatch and continue? [y/N]:=20

It was in a context with:

# uname -apKU
FreeBSD generic 14.0-STABLE FreeBSD 14.0-STABLE =
stable/14-n266448-e2b71e1490a3 GENERIC arm64 aarch64 1400505 1400505

# file /usr/sbin/pkg* /usr/local/sbin/pkg*
/usr/sbin/pkg:                ELF 64-bit LSB pie executable, ARM =
aarch64, version 1 (FreeBSD), dynamically linked, interpreter =
/libexec/ld-elf.so.1, for FreeBSD 14.0 (1400501), FreeBSD-style, =
stripped
/usr/local/sbin/pkg:          ELF 64-bit LSB executable, ARM aarch64, =
version 1 (FreeBSD), dynamically linked, interpreter =
/libexec/ld-elf.so.1, for FreeBSD 14.0 (1400097), FreeBSD-style, with =
debug_info, not stripped
/usr/local/sbin/pkg-static:   ELF 64-bit LSB executable, ARM aarch64, =
version 1 (FreeBSD), statically linked, for FreeBSD 14.0 (1400097), =
FreeBSD-style, with debug_info, not stripped
/usr/local/sbin/pkg_libchk:   POSIX shell script, ASCII text executable
/usr/local/sbin/pkg_trim:     POSIX shell script, ASCII text executable
/usr/local/sbin/pkg_validate: POSIX shell script, ASCII text executable

# ls -Tlodt /usr/sbin/pkg* /usr/local/sbin/pkg*
-r-xr-xr-x  1 root wheel -    33328 Jan 19 19:40:53 2024 /usr/sbin/pkg
-rwxr-xr-x  1 root wheel -      235 Jan  9 20:48:36 2024 =
/usr/local/sbin/pkg_libchk
-rwxr-xr-x  1 root wheel -      235 Jan  9 20:48:36 2024 =
/usr/local/sbin/pkg_trim
-rwxr-xr-x  1 root wheel -      235 Jan  9 20:48:36 2024 =
/usr/local/sbin/pkg_validate
-rwxr-xr-x  1 root wheel -  3353416 Jan  5 21:30:02 2024 =
/usr/local/sbin/pkg
-rwxr-xr-x  1 root wheel - 32710384 Jan  5 21:30:02 2024 =
/usr/local/sbin/pkg-static


But the pkg results were somewhat variable, despite that stable context.
I tried reboots multiple times and still got mixed results.

I do not known where the 1400501 in "running kernel: 1400501" came
from when it was reported.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A2E7A8-0A46-48F5-BF1D-4BA5921703E3>