On 10/16/25 10:49, Patrick M. Hausen wrote:One thing I'll note about having a mix of enabled and
Am 16.10.2025 um 19:44 schrieb Mark Millard <marklmi@yahoo.com>:
To my knowledge, /etc/pkg/ only has files that are expected to
apply to all systems, no matter how installed/updated. Also,
the files in /etc/pkg/ are expected to not be edited. The
overriding text goes in files in /usr/local/etc/pkg/respos/
instead. (Technically such are conventions, not requirements,
but they fit with FreeBSD update processes in a particular way.)
I follow that argument.
But isn't pkgbase supposed to be the new normal starting with 15.0?
Sorry for the noise if I confused that. Then it will land in /etc/pkg/FreeBSD.conf in 16?
I'm planning on putting a "FreeBSD-base" repository configuration into /etc/pkg/FreeBSD.conf in 15. It will be disabled by default, in order
to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base"
should work out of the box.
Colin Percival <cperciva_at_tarsnap.com> wrote onTurns out that pkg fetch will only fetch from enabled
Date: Thu, 16 Oct 2025 18:04:51 UTC :
On 10/16/25 10:49, Patrick M. Hausen wrote:
Am 16.10.2025 um 19:44 schrieb Mark Millard <marklmi@yahoo.com>:
To my knowledge, /etc/pkg/ only has files that are expected to
apply to all systems, no matter how installed/updated. Also,
the files in /etc/pkg/ are expected to not be edited. The
overriding text goes in files in /usr/local/etc/pkg/respos/
instead. (Technically such are conventions, not requirements,
but they fit with FreeBSD update processes in a particular way.)
I follow that argument.
But isn't pkgbase supposed to be the new normal starting with 15.0?
Sorry for the noise if I confused that. Then it will land in /etc/pkg/FreeBSD.conf in 16?
I'm planning on putting a "FreeBSD-base" repository configuration into
/etc/pkg/FreeBSD.conf in 15. It will be disabled by default, in order
to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base"
should work out of the box.
One thing I'll note about having a mix of enabled and
disabled repositories, with both types having installed
packages: pkg version is always going to classify some
of the installed packages as orphaned. For reference:
# pkg version -r REPONAME . . .
classifies everything installed from some other repository
as orphaned, no matter if that repository is enabled or
not.
For a pkgbase context with FreeBSD-base not enabled . . .
# pkg version . . .
(no REPONAME) will classify everything installed from
FreeBSD-base as orphaned because it is not enabled.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 15:07:01 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (18,532K bytes) |
| Messages: | 265,651 |