Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2026 16:49:06 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        vermaden <vermaden@interia.pl>, "bugzilla-noreply@freebsd.org" <bugzilla-noreply@freebsd.org>, "pkgbase@FreeBSD.org" <pkgbase@FreeBSD.org>
Subject:   Re: [Bug 291501] Users should not be advised to overwrite /usr/local/etc/pkg/repos/FreeBSD.conf
Message-ID:  <878131bb-bc7c-4a80-af26-ec4b9adc8b3d@yahoo.com>
In-Reply-To: <xhxyfldbeivtqpernfvi@awyp>
References:  <bug-291501-36141@https.bugs.freebsd.org/bugzilla/> <bug-291501-36141-wAMnXV3yUY@https.bugs.freebsd.org/bugzilla/> <xhxyfldbeivtqpernfvi@awyp>

index | next in thread | previous in thread | raw e-mail

On 6/28/26 16:35, vermaden wrote:
> Hi.
> 
>> Users should not be advised to overwrite /usr/local/etc/pkg/repos/FreeBSD.conf
> 
> The stock  'Base System' config is at /etc/pkg/FreeBSD.conf ... that one should not be modified (officially).
> 
> The /usr/local/etc/pkg/repos/FreeBSD.conf is 'for' modifications.
> 
> Just modify bsdinstall(8) or 'default' /etc/pkg/FreeBSD.conf config to be like that:
> 
> | FreeBSD-base: {
> |   url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
> |   mirror_type: "srv",
> |   signature_type: "fingerprints",
> |   fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
> |   enabled: yes
> | }
> 
> Because current situation is very strange where You have this by default after installation:
> 
> | FreeBSD-base: {
> |   url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
> |   mirror_type: "srv",
> |   signature_type: "fingerprints",
> |   fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
> |   enabled: no
> | }
> 
> ... and this in /usr/local/etc/pkg/repos/FreeBSD.conf file:
> 
> | FreeBSD-base: { enabled: yes }
> 
> What is the point of this split?

Remember that prior to some 2.7.* of pkg the -rREPONAME notation did not
work as documented as far as controlling which which repositories are
enabled for the specific command instance, including update, upgrade,
install, and more not respecting the command line.

Last I knew, quarterly was still at 2.6.2 of pkg or something like that.

15.0-RELEASE had FreeBSD-base deliberately disabled by default in
/etc/pkg/FreeBSD.conf . 15.1-RELEASE also can not depend on pkg 2.7.5 or
later being in use.

I wonder if quarterly should get pkg upgrade, if it has not yet done so.

> 
> Regards,
> vermaden
> 
> 
> 


-- 
===
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?878131bb-bc7c-4a80-af26-ec4b9adc8b3d>