Date: Mon, 29 Jun 2026 01:35:42 +0200 From: vermaden <vermaden@interia.pl> To: "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: <xhxyfldbeivtqpernfvi@awyp> In-Reply-To: <bug-291501-36141-wAMnXV3yUY@https.bugs.freebsd.org/bugzilla/> References: <bug-291501-36141@https.bugs.freebsd.org/bugzilla/> <bug-291501-36141-wAMnXV3yUY@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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?
Regards,
vermaden
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xhxyfldbeivtqpernfvi>
