What I want, now, is a pkg command to list unregistered packages.
Oops, too late 🙃
What I want, now, is a pkg command to list unregistered packages.
Oops, too late 🙃
I want structured output from `pkg repositories` (e.g. JSON, XML, something).
The goal: parse the data via my code.
Here's what we're dealing with:
[22:44 r730-01 dvl ~] % pkg repositories local
local: {
url : "http://fedex.int.unixathome.org/packages/FreeBSD:14:amd64/",
enabled : yes,
priority : 0,
signature_type : "PUBKEY",
pubkey : "/etc/ssl/slocum.unixathome.org.cert"
}
Before I go coding which might break with each update, is there an existing method?
Thanks.
pkg query --evaluate '%o = base' '%o\n\n%e\n\n----\n\n'
Why does it not get descriptions of installed base packages?
pkg-query(8)
<https://man.freebsd.org/cgi/man.cgi?query=pkg-query&sektion=8&manpath=freebsd-ports>
pkg query --evaluate '%o = base' '%o\n\n%e\n\n----\n\n'
Why does it not get descriptions of installed base packages?
pkg-query(8)
<https://man.freebsd.org/cgi/man.cgi?query=pkg-query&sektion=8&manpath=freebsd-ports>
FreeBSD 15.0-ALPHA5 Now Available
https://lists.freebsd.org/archives/freebsd-stable/2025-October/003330.html
For freebsd-update:
― "THE STEP OF UPDATING YOUR EXISTING SYSTEM FIRST IS NECESSARY …"
https://www.reddit.com/r/freebsd/comments/1nyu2ky/comment/nhx8x53/
Screenshots below are of a multi-desktop environment system that used pkg for the update from ALPHA4 to ALPHA5.
#alpha #Cinnamon #MATE #KDE #Plasma #SDDM #Firefox #FreeBSD #Foundation
FreeBSD Installer: using the installer's offline packages
FreeBSD Installer: using the installer's offline packages
FreeBSD 15.0-ALPHA4 Now Available
<https://lists.freebsd.org/archives/freebsd-stable/2025-September/003265.html>
― FREEBSD-UPDATE SHOULD NOT BE USED TO UPGRADE TO 15.0-ALPHA4 AT PRESENT.
<https://www.reddit.com/r/freebsd/comments/1ns5onx/comment/ngjiwl9/> pictures a successful major upgrade that used pkg instead of freebsd-update.
FreeBSD 15.0-ALPHA4 Now Available
<https://lists.freebsd.org/archives/freebsd-stable/2025-September/003265.html>
― FREEBSD-UPDATE SHOULD NOT BE USED TO UPGRADE TO 15.0-ALPHA4 AT PRESENT.
<https://www.reddit.com/r/freebsd/comments/1ns5onx/comment/ngjiwl9/> pictures a successful major upgrade that used pkg instead of freebsd-update.
FreeBSD: pkgbase: major upgrades
― a rough guide, for alpha testing on AMD64.
From <https://redd.it/1nlo8lp>:
❮ An obvious response to the roughness: it's more complicated than legacy freebsd-update(8) (for FreeBSD 14.3-RELEASE). True; this is for alpha testing.
Please read the preamble before anything else. If you have any question, please don't hesitate to ask. ❯
FreeBSD: pkgbase: major upgrades
― a rough guide, for alpha testing on AMD64.
From <https://redd.it/1nlo8lp>:
❮ An obvious response to the roughness: it's more complicated than legacy freebsd-update(8) (for FreeBSD 14.3-RELEASE). True; this is for alpha testing.
Please read the preamble before anything else. If you have any question, please don't hesitate to ask. ❯
sysctl vm.pageout_oom_seq=120
― for FreeBSD on slow storage.
Pictured: a 2828-step forced reinstallation of 1534 packages – 568 FreeBSD-base, 966 FreeBSD-ports – with root-on-ZFS, 8 G swap, and less than 1 GB memory.
FreeBSD 15.0-PRERELEASE on AMD64 with KDE Plasma and applications, SDDM, and a few other things from the ports collection.
ZFS is not tuned in any way.
zfs --version
zfs-2.4.0-rc1-FreeBSD_g00dfa094a
zfs-kmod-2.4.0-zfs-2.4.0-rc1-FreeBSD_g00dfa094a
<https://lists.freebsd.org/archives/freebsd-pkg/2025-September/001466.html> | <https://mail-archive.freebsd.org/cgi/mid.cgi?4e12afdc-7bcf-4a25-94b3-fe1562469ed9>
sysctl vm.pageout_oom_seq=120
― for FreeBSD on slow storage.
Pictured: a 2828-step forced reinstallation of 1534 packages – 568 FreeBSD-base, 966 FreeBSD-ports – with root-on-ZFS, 8 G swap, and less than 1 GB memory.
FreeBSD 15.0-PRERELEASE on AMD64 with KDE Plasma and applications, SDDM, and a few other things from the ports collection.
ZFS is not tuned in any way.
zfs --version
zfs-2.4.0-rc1-FreeBSD_g00dfa094a
zfs-kmod-2.4.0-zfs-2.4.0-rc1-FreeBSD_g00dfa094a
<https://lists.freebsd.org/archives/freebsd-pkg/2025-September/001466.html> | <https://mail-archive.freebsd.org/cgi/mid.cgi?4e12afdc-7bcf-4a25-94b3-fe1562469ed9>