[Bug 278631] pkg update fails when explicitly providing ABI (since 1.21.2)
Date: Sun, 28 Apr 2024 08:58:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278631 Bug ID: 278631 Summary: pkg update fails when explicitly providing ABI (since 1.21.2) Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: markus@stoffdv.at Since upgrading pkg to version 1.21.2, the following error occurs (it was fine up to and including 1.21.1): # pkg -o ABI="$(pkg config abi)" update -f # ABI="$(pkg config abi)" pkg update -f Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 178 B 0.2kB/s 00:01 Fetching data.pkg: 100% 7 MiB 7.3MB/s 00:01 Processing entries: 0% pkg: Newer FreeBSD version for package zxfer: To ignore this error set IGNORE_OSVERSION=yes - package: 1400097 - running kernel: 0 pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:14:amd64 Processing entries: 0% Unable to update repository FreeBSD Error updating repositories! # echo $? 1 Without setting the ABI explicitly: # pkg update -f Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 178 B 0.2kB/s 00:01 Fetching data.pkg: 100% 7 MiB 7.3MB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 34056 packages processed. All repositories are up to date. # echo $? 0 -- You are receiving this mail because: You are the assignee for the bug.