/usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD-base.url
- In reply to: Graham Perrin : "env ABI=FreeBSD:15:amd64 pkg update -f --repository FreeBSD-base"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Sep 2025 02:21:09 UTC
> Am I missing something? …
>
> ----
>
> Script started on Fri Sep 12 02:41:09 2025
> root@pkg:~ # freebsd-version -kru ; uname -aKU
>
> …
> root@pkg:~ # pkg repos FreeBSD-base
>
> FreeBSD-base: {
> url :
> "pkg+http://pkg.freebsd.org/FreeBSD:14:amd64/base_latest",
> enabled : yes,
> priority : 0,
> mirror_type : "SRV",
> signature_type : "FINGERPRINTS",
> fingerprints : "/usr/share/keys/pkg"
> }
> root@pkg:~ # pkg -v
>
> …
Two things.
First, pkg+http should have been pkg+https. This was not the problem.
Second, I showed output from pkg-repositories(8)
without showing the content of
/usr/local/etc/pkg/repos/FreeBSD.conf
where I had mistakenly specified
FreeBSD:14:amd64
Fixed:
root@pkg:~ # uclcmd get --file /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD-base.url
"pkg+https://pkg.freebsd.org/${ABI}/base_latest"
root@pkg:~ #