Date: Sat, 15 Nov 2025 08:00:06 -0800 From: Mark Millard <marklmi@yahoo.com> To: Colin Percival <cperciva@freebsd.org> Cc: 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: <D56F9280-316C-486A-AA67-AAB135C22DE5@yahoo.com> In-Reply-To: <97e5bde2-eb6c-4e29-a9fb-d80c06c65efa@freebsd.org> References: <00D80914-D359-4834-B6F0-9CD66967F77C@yahoo.com> <97e5bde2-eb6c-4e29-a9fb-d80c06c65efa@freebsd.org>
index | next in thread | previous in thread | raw e-mail
On Nov 15, 2025, at 07:46, Colin Percival <cperciva@freebsd.org> wrote:
> 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
Does not work when FreeBSD-base is disabled:
# pkg repos -e
main-aarch64-default: {
url : "file:///usr/local/poudriere/data/packages/main-aarch64-default",
enabled : yes,
priority : 0
}
# pkg update -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
vs.:
# pkg repos -e
FreeBSD-base: {
url : "pkg+http://pkg.FreeBSD.org/FreeBSD:16:aarch64/base_latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
main-aarch64-default: {
url : "file:///usr/local/poudriere/data/packages/main-aarch64-default",
enabled : yes,
priority : 0
}
# pkg update -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
Fetching data.pkg: 100% 79 KiB 81.2kB/s 00:01
Processing entries: 100%
FreeBSD-base repository update completed. 507 packages processed.
FreeBSD-base is up to date.
> # 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.
Looks like that will be needed.
===
Mark Millard
marklmi at yahoo.com
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D56F9280-316C-486A-AA67-AAB135C22DE5>
