RE: pkg(8) Repos

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 19 Oct 2025 02:14:10 UTC
vermaden <vermaden_at_interia.pl> wrote on
Date: Sat, 18 Oct 2025 22:30:31 UTC :

> I just checked one interesting thing - here are the facts - on the 15.0-BETA1 (I doubt its different on BETA2).
> 
> The 'third party' packages pkg(8) repos config is in the _Base System_ /etc/pkg/FreeBSD.conf file.
> 
> root@pkgbase:~ # grep '^[^#]' /etc/pkg/FreeBSD.conf 
> FreeBSD-ports: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> FreeBSD-ports-kmods: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> 
> The _Base System_ packages pkg(8) repos config is in the 'third party' /usr/local/etc/pkg/FreeBSD.conf file.
> 
> root@pkgbase:~ # grep '^[^#]' /usr/local/etc/pkg/repos/FreeBSD-base.conf 
> FreeBSD-base: {
> url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> 
> This is the DEFAULT setup just after the bsdinstall(8) installation.
> 
> I mean .. where is the LOGIC in that?
> 
> Its EXACTLY the opposite as it should be ...

The plan for 15 is that, eventually, all 3 will be in
/etc/pkg/FreeBSD.conf . See Colin Percival's note in:

https://lists.freebsd.org/archives/freebsd-stable/2025-October/003435.html

about moving FreeBSD-base to /etc/pkg/FreeBSD.conf :

QUOTE
I'm planning on putting a "FreeBSD-base" repository configuration into
/etc/pkg/FreeBSD.conf in 15. It will be disabled by default, in order
to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base"
should work out of the box.

The reasons this hasn't happened yet have to do with release engineering
processes and setting up the systems for building updates securely.
END QUOTE

Things are still of a status where one needs to ask if what one
observes is actually the intent for 15.0-RELEASE or not. Various
things are not yet as they are intended to be for 15.0 .


===
Mark Millard
marklmi at yahoo.com