Re: [Bug 291501] Users should not be advised to overwrite /usr/local/etc/pkg/repos/FreeBSD.conf

From: vermaden <vermaden_at_interia.pl>
Date: Sun, 28 Jun 2026 23:35:42 UTC
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