pkg-repositories(8) and the --rootdir option of pkg(8)
- Reply: Mark Millard : "Re: pkg-repositories(8) and the --rootdir option of pkg(8)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Mar 2026 00:46:33 UTC
pkg version 2.6.2.
Below, I half-expected the second use of pkg to show
base_latest (not base_release_0) in the url.
What am I missing?
Thanks
root@clean:~ # bectl list -c creation
BE Active Mountpoint Space Created
default NR / 11.7G 2025-10-07 04:15
stable-15 - /tmp/up 483M 2026-03-15 23:31
root@clean:~ # pkg repos FreeBSD-base
FreeBSD-base: {
url :
"pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
root@clean:~ # pkg -r /tmp/up repos FreeBSD-base
FreeBSD-base: {
url :
"pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
root@clean:~ # grep -A 2 FreeBSD-base
/tmp/up/usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD-base {
enabled = yes;
url = "pkg+https://pkg.freebsd.org/${ABI}/base_latest";
root@clean:~ #