Re: pkg(8) Repos

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Wed, 22 Oct 2025 09:22:41 UTC
On Sat, 18 Oct 2025, at 22:30, vermaden wrote:
> Hi.
>
> 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 ...

Hi vermaden

This will be cleaned up before release; I can't recall the reasoning
why it's split atm though sorry.

It's in https://wiki.freebsd.org/Releng/15.0ISSUES as

Add "FreeBSD-base" (or maybe "FreeBSD-src") repository to /etc/pkg/FreeBSD.conf (cperciva) 


A+
Dave