Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2026 17:32:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkgbase@FreeBSD.org
Subject:   [Bug 291501] Users should not be advised to overwrite /usr/local/etc/pkg/repos/FreeBSD.conf
Message-ID:  <bug-291501-36141-W25bh7M2tj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291501-36141@https.bugs.freebsd.org/bugzilla/>

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

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291501-36141-W25bh7M2tj>