RE: git: 8e0b1a1c03a3 - main - pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sat, 15 Nov 2025 15:34:55 UTC
Colin Percival <cperciva_at_FreeBSD.org> wrote on
Date: Sat, 15 Nov 2025 07:58:59 UTC :

> The branch main has been updated by cperciva:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=8e0b1a1c03a35a5db13e370cb3e62585d3db68e3
> 
> commit 8e0b1a1c03a35a5db13e370cb3e62585d3db68e3
> Author: Colin Percival <cperciva@FreeBSD.org>
> AuthorDate: 2025-11-15 03:26:07 +0000
> Commit: Colin Percival <cperciva@FreeBSD.org>
> CommitDate: 2025-11-15 07:58:41 +0000
> 
> pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf
> 
> On -CURRENT and -STABLE this gets bits from pkg.freebsd.org; but we get
> base system bits from pkgbase.freebsd.org for BETA/RC/RELEASE.
> 
> Note that this repository is disabled by default, but can still be used
> by explicitly specifying it, e.g. "pkg upgrade -r FreeBSD-base".

I and others reported that when FreeBSD-base is not enabled,
"pkg upgrade -r FreeBSD-base" does not do the pkg update
part of the activity (as if a -U was present if it was an
enabled repository). This prevents "pkg upgrade -r FreeBSD-base"
doing any upgrade that would depend on the pkg update results.

In other words, only enabled repositories get the
implicit pkg update activity, even when the -r REPONAME
is supplied.

I've been manually initially doing the sequence:

Edit to have FreeBSD-base enabled
pkg-static update -rFreeBSD-base
Edit to have FreeBSD-base disabled

> With hat: re
> MFC after: 8 hours (needed in 15.0-RC1)
> . . .

===
Mark Millard
marklmi at yahoo.com