[Bug 290396] pkg FreeBSD.conf disable a repository example incorrect latest quarterly quarterly-release
Date: Mon, 20 Oct 2025 23:31:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290396
Bug ID: 290396
Summary: pkg FreeBSD.conf disable a repository example
incorrect latest quarterly quarterly-release
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: bugs@FreeBSD.org
Reporter: resistor@peakusage.net
With the new naming scheme for ports and kmods coming into use in the pkg conf
files example to disable a repository at the top of each file will need to be
updated to reflect the name.
freebsd-src/usr.sbin/pkg/FreeBSD.conf.latest
freebsd-src/usr.sbin/pkg/FreeBSD.conf.quarterly
freebsd-src/usr.sbin/pkg/FreeBSD.conf.quarterly-release
Current information:
#
# 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: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
# echo "FreeBSD-kmods: { enabled: no }" >>
/usr/local/etc/pkg/repos/FreeBSD.conf
#
Updated to the new scheme:
#
# 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
#
--
You are receiving this mail because:
You are the assignee for the bug.