[Bug 265061] ports-mgmt/pkg pkgbase wrong depends, lib32 instead of libs for many packages

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Oct 2024 02:45:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265061

--- Comment #7 from Jeff Kletsky <jeff+freebsd@wagsky.com> ---
pkg-in-jail is executing in the host environment on the jail filesystem:

/usr/sbin/pkg -r "$jailpath" -o REPOS_DIR="/etc/pkg, /usr/local/etc/pkg/repos,
/usr/local/etc/pkg/${relpath}" "$@"

$ cat /usr/local/etc/pkg/repos/FreeBSD-base.conf 
FreeBSD-base: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_1",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

[jeff@js2 /var/jail/dns-new/usr/bin]$ uname -a
FreeBSD js2 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64

[jeff@js2 /var/jail/dns-new/usr/bin]$ freebsd-version -ku
14.1-RELEASE-p5
14.1-RELEASE-p5

[jeff@js2 /var/jail/dns-new/usr/bin]$ pkg-in-jail dns-new --version
1.21.3
[jeff@js2 /var/jail/dns-new/usr/bin]$ pkg --version
1.21.3


js2 has been upgraded with freebsd-update and pkg (and not pkgbase).

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