Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2024 08:58:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278631] pkg update fails when explicitly providing ABI (since 1.21.2)
Message-ID:  <bug-278631-227@https.bugs.freebsd.org/bugzilla/>

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

            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 f=
ine
up to and including 1.21.1):

# pkg -o ABI=3D"$(pkg config abi)" update -f
# ABI=3D"$(pkg config abi)" pkg update -f
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01=20=20=20=20
Fetching data.pkg: 100%    7 MiB   7.3MB/s    00:01=20=20=20=20
Processing entries:   0%
pkg: Newer FreeBSD version for package zxfer:
To ignore this error set IGNORE_OSVERSION=3Dyes
- 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=20=20=20=20
Fetching data.pkg: 100%    7 MiB   7.3MB/s    00:01=20=20=20=20
Processing entries: 100%
FreeBSD repository update completed. 34056 packages processed.
All repositories are up to date.

# echo $?
0

--=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-278631-227>