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

From: Erichans <erichanskrs_at_gmail.com>
Date: Sun, 16 Nov 2025 14:22:27 UTC
On Sat, Nov 15, 2025 at 4:35 PM Mark Millard <marklmi@yahoo.com> wrote:
>
> 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.
>

The issue with -r not enabling a specified repository (this is a regression)
has not only been reported in the ML but also in two PR-s:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211749#c7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289455

Eric