pkg vs uname troubles after upgrade to 14
Ronald Klop
ronald-lists at klop.ws
Tue Feb 16 15:55:25 UTC 2021
Hi,
Upgraded from 13 to 14.
# uname -UK
1400003 1400003
But elfdump on uname gives:
note (.note.tag):
FreeBSD 1300133 (NT_FREEBSD_ABI_TAG)
# pkg -o OSVERSION=1400003 upgrade
pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
pkg-1.16.2 (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:13:aarch64:64')
Number of packages to be reinstalled: 1
How do I do this properly? Rebuilding name still gives it the ELF note of 1300133.
It does not matter if I pass "-o OSVERSION=1400003" to pkg or not.
Found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104, but I don't think it was really resolved.
This is on aarch64. And why does pkg not use the version uname is reporting by -UK instead of the ELF note?
Regards,
Ronald.
More information about the freebsd-current
mailing list