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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Jun 2026 17:32:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291501

Dan Mahoney <freebsd@gushi.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@gushi.org

--- Comment #6 from Dan Mahoney <freebsd@gushi.org> ---
Minor nit?

Right now in 5.1, the top of /etc/pkg/FreeBSD.conf says:

```
#
# To disable a repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file, e.g.:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD-ports: { enabled: no }" >
/usr/local/etc/pkg/repos/FreeBSD.conf
#   echo "FreeBSD-ports-kmods: { enabled: no }" >>
/usr/local/etc/pkg/repos/FreeBSD.conf
#
# Note that the FreeBSD-base repository is disabled by default.
#
```


Maybe this should instead say "please make all changes/overrides" in
/usr/local/etc/pkg/FreeBSD.conf, this file will be stomped on upgrades, etc,
rather than just "to disable a repository".

-- 
You are receiving this mail because:
You are on the CC list for the bug.