Date: Sat, 15 Nov 2025 07:46:58 -0800 From: Colin Percival <cperciva@freebsd.org> To: Mark Millard <marklmi@yahoo.com>, dev-commits-src-main <dev-commits-src-main@freebsd.org>, FreeBSD-pkgbase@freebsd.org Subject: Re: git: 8e0b1a1c03a3 - main - pkg: Add FreeBSD-base to /etc/pkg/FreeBSD.conf Message-ID: <97e5bde2-eb6c-4e29-a9fb-d80c06c65efa@freebsd.org> In-Reply-To: <00D80914-D359-4834-B6F0-9CD66967F77C@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On 11/15/25 07:34, Mark Millard wrote:
> Colin Percival <cperciva_at_FreeBSD.org> wrote on
> Date: Sat, 15 Nov 2025 07:58:59 UTC :
>> 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
I'll have to test further, but it looked to me like
# pkg update -r FreeBSD-base
# pkg upgrade -r FreeBSD-base
worked? Maybe I had the repository enabled by accident when I was testing.
If necessary we'll have bsdinstall put "FreeBSD-base: { enabled: yes }"
into /usr/local/etc/pkg/repos/FreeBSD-base.conf when doing a pkgbase install.
--
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97e5bde2-eb6c-4e29-a9fb-d80c06c65efa>
