pkgbase is maintained by ports-mgmt/pkg, it has no logic to create ZFS boot environments on its own, it must be done manually with bectl/beadm.Is there a config flag somewhere that needs to be set to enable auto-BEs
pkgbase is maintained by ports-mgmt/pkg, it has no logic to create ZFS boot environments on its own, it must be done manually with bectl/beadm.Is there a config flag somewhere that needs to be set to enable auto-BEs
Why not?pkgbase is maintained by ports-mgmt/pkg, it has no logic to create ZFS boot environments on its own, it must be done manually with bectl/beadm.
That question is better asked to the developers of ports-mgmt/pkg, or you could request this feature to be added (https://github.com/freebsd/pkg/issues/?q=is:issue state:open label:feature)Why not?
pkg supports plugins. The snapshot functionality in openSUSE's zypper is also done via a plugin.That question is better asked to the developers of ports-mgmt/pkg, or you could request this feature to be added (https://github.com/freebsd/pkg/issues/?q=is:issue statepen label:feature)
Dunno, 15.0-RELEASE is out, iso images are available, I'm doing a fresh install, and compiling my way into KDE via the Ports Collection. My Ryzen 9 6900 HS is chugging along fine, but even that will probably take me the rest of the day just to see if Xorg works.On my pkgbase system I am still on 15.0-RC4 - no updates to RELEASE yet available. Am I missing something?
Post the output ofOn my pkgbase system I am still on 15.0-RC4 - no updates to RELEASE yet available. Am I missing something?
uname -apKU pkg -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'FreeBSD vmfreebsd 15.0-RC4-p1 FreeBSD 15.0-RC4-p1 releng/15.0-n280989-95a3d5b48de6 GENERIC amd64 amd64 1500068 1500068
IGNORE_OSVERSION = false;
BACKUP_LIBRARIES = true;
BACKUP_LIBRARY_PATH = "/usr/local/lib/compat/pkg";
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500068";
Repositories:
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkgbase.freebsd.org/FreeBSD:15:amd64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
[...]
.conf settings* :FreeBSD-ports and FreeBSD-ports-kmodsFreeBSD-baseFreeBSD-base is: url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",FreeBSD-base repository is not enabledIGNORE_OSVERSION = false;
BACKUP_LIBRARIES = true;
BACKUP_LIBRARY_PATH = "/usr/local/lib/compat/pkg";
ABI = "FreeBSD:15:amd64";
ALTABI = "freebsd:15:x86:64";
OSVERSION = "1500068";
Repositories:
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkgbase.freebsd.org/FreeBSD:15:amd64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
FreeBSD-base: {
enabled: yes,
}
.conf files in /usr/local/etc/pkg/repos/ - (re)move these. pkg upgrade -r FreeBSD-base freebsd-version -kru afterwards. (You probably then have a different running kernel versus installed kernel.) shutdown -r nowFreeBSD-ports and FreeBSD-ports-kmods as desired in your local /usr/local/etc/pkg/repos/FreeBSD.conf. Upgrade your packages from the ports tree.FreeBSD-ports: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
priority: 0,
mirror_type: "SRV",
signature_type: "FINGERPRINTS",
fingerprints: "/usr/share/keys/pkg",
enabled: yes,
}
FreeBSD-ports-kmods: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}",
priority: 0,
mirror_type: "SRV",
signature_type: "FINGERPRINTS",
fingerprints: "/usr/share/keys/pkg"
enabled: yes,
}
FreeBSD-base: {
enabled: yes,
}
Let me know if you are using Nvidia graphics drivers and Xorg; on quarterly you may need extra considerations—I have no knowledge about using Wayland+Nvidia graphics though.[...]
You might not have, that is: if you were usingthanks a lot! Well, I probably read over that "enabled: no" many times - no idea what disabled that repository, probably some scripts that came with RC4.
pkg upgrade -r FreeBSD-base* with a disabled FreeBSD-base repository that should (as documented in pkg-upgrade(8)) work—and it has in the past with repositories with older releases—however, now it doesn't (PR 289455 and PR 211749 - c7). That's why, in order to use pkg -upgrade -r <any repository>, you must have the repository in question enabled beforehand. pkg -upgrade -r <any repository> a lot, for example wrt the then introduced 'kmods'; I've upgraded from 14.2-RELEASE -> 15.0-BETAx -> pkgbasify ->stepwise pkg upgrade-s to15.0-RELEASE. # cat /usr/local/etc/pkg/repos/FreeBSD-base.conf FreeBSD-base: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_0",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
# freebsd-version -kru14.3-RELEASE-p6
14.3-RELEASE-p6
14.3-RELEASE-p6
# pkg-static updateUpdating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 10 MiB 2.2MB/s 00:05
Processing entries: 100%
FreeBSD-ports repository update completed. 36617 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 31 KiB 32.3kB/s 00:01
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 213 packages processed.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
# pkg-static upgradeUpdating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
Checking for upgrades (1267 candidates): 100%
Processing candidates (1267 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
# env ABI=FreeBSD:15:amd64 pkg-static upgrade -r FreeBSD-basepkg-static: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1500000
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating FreeBSD-base repository catalogue...
pkg-static: Repository FreeBSD-base has a wrong packagesite, need to re-create database
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 80 KiB 81.6kB/s 00:01
pkg-static: No trusted public keys found
FreeBSD-base repository is up to date.
FreeBSD-base is up to date.
pkg-static: Repository FreeBSD-base has a wrong packagesite, need to re-create database
pkg-static: Repository FreeBSD-base cannot be opened. 'pkg update' required
Updating database digests format: 100%
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
# pkg bootstrap -fld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"
# pkg add -f https://pkg.freebsd.org/FreeBSD:15:$(uname -p)/base_release_0/FreeBSD-pkg-bootstrap-15.0.pkgFetching FreeBSD-pkg-bootstrap-15.0.pkg: 100% 153 KiB 156.7kB/s 00:01
Installing FreeBSD-pkg-bootstrap-15.0...
pkg: wrong architecture: FreeBSD:15:amd64 instead of FreeBSD:14:amd64
Newer FreeBSD version for package FreeBSD-pkg-bootstrap:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500068
- running userland: 1403000
Ignore the mismatch and continue? [y/N]: y
package FreeBSD-pkg-bootstrap is already installed, forced install
pkg: FreeBSD-pkg-bootstrap-15.0 conflicts with FreeBSD-pkg-bootstrap-man-14.3p6 (installs files into the same place). Problematic file: /usr/share/man/man7/pkg.7.gz ignored by forced mode
Extracting FreeBSD-pkg-bootstrap-15.0: 100%
# pkg updateld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"
# pkg -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"
8. when prompted to run pkg bootstrap -f, do not
pkg-static instead of plain standard pkg, maybe it will help.It looks like you are trying to use pkg-upgrade(8) to go from a packaged base 14.3-RELEASE (that is "Using pkgbase on 14.3") to a packaged base 15.0-RELEASE.# env ABI=FreeBSD:15:amd64 pkg-static upgrade -r FreeBSD-base
[...] but it's not the path I would recommend to users.
From: Colin Percival <cperciva_at_tarsnap.com>
Date: Tue, 02 Dec 2025 19:36:51 UTC
On 12/2/25 11:31, Patrick M. Hausen wrote:
> now that 15.0 is released, what is the recommended order of
> tasks when I intend to upgrade a traditionally installed 14.3
> system to pkgbase 15.0?
>
> freebsd-update before pkgbasify or the other way round?
>
> I figure for the latter I would need to somehow install pkgbasify on 14.3.
> It's not in the FreeBSD pkg repo.
Use FreeBSD Update to upgrade to 15.0. At some point before 16.0 you should
pkgbasify but there's no rush since FreeBSD Update will be supported for the
lifetime of 15.x.
Using pkgbase on 14.3 has always been considered "experimental"; I'm glad
people tried it out and found some of the bugs in pkgbase early, but it's not
the path I would recommend to users.
--
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
pkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'pkg remove FreeBSD-src-14.3p6 FreeBSD-src-sys-14.3p6
bectl create 15.0-RELEASE
bectl mount 15.0-RELEASE /mnt/upgrade
pkg -c /mnt/upgrade lock pkg
pkg -c /mnt/upgrade add -f https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/FreeBSD-pkg-bootstrap-15.0.pkg
# edit the file FreeBSD-base.conf to set the url to base_release_0 and fingerprints to point to "/usr/share/keys/pkgbase-15"
emacs /mnt/upgrade/usr/local/etc/pkg/repos/FreeBSD-base.conf
env ABI=FreeBSD:15:amd64 pkg-static -c /mnt/upgrade upgrade -r FreeBSD-base
pkg -c /mnt/upgrade unlock pkg
chroot /mnt/upgrade
freebsd-version -kru
exit
root@lorax:~ # pkg -c /mnt/upgrade info | grep FreeBSD-kernel
pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
FreeBSD-kernel-generic-15.0 FreeBSD GENERIC Kernel
FreeBSD-kernel-generic-mmccam-14.3p6 FreeBSD GENERIC-MMCCAM kernel
FreeBSD-kernel-minimal-14.3p6 FreeBSD MINIMAL kernel
# pkg -c /mnt/upgrade install FreeBSD-kernel-minimal
... other output...
pkg: No packages available to install matching 'FreeBSD-kernel-minimal' have been found in the repositories
pkg -c /mnt/upgrade add -f https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest/FreeBSD-kernel-minimal-15.snap20251201164446.pkg
pkg -c /mnt/upgrade upgrade
pkg install FreeBSD-src FreeBSD-src-sys
FreeBSD-dpv-14.3p6 ? orphaned: base
FreeBSD-dpv-dev-14.3p6 ? orphaned: base
FreeBSD-dpv-dev-lib32-14.3p6 ? orphaned: base
FreeBSD-dpv-lib32-14.3p6 ? orphaned: base
FreeBSD-dpv-man-14.3p6 ? orphaned: base
FreeBSD-efi-tools-dev-lib32-14.3p6 ? orphaned: base
FreeBSD-efi-tools-lib32-14.3p6 ? orphaned: base
FreeBSD-ftpd-14.3p6 ? orphaned: base
FreeBSD-ftpd-man-14.3p6 ? orphaned: base
FreeBSD-kernel-generic-mmccam-14.3p6 ? orphaned: base
FreeBSD-liby-dev-14.3p6 ? orphaned: base
FreeBSD-liby-dev-lib32-14.3p6 ? orphaned: base
FreeBSD-openssl-lib-lib32-14.3p6 ? orphaned: base
FreeBSD-openssl-lib-man-14.3p6 ? orphaned: base
FreeBSD-pkg-bootstrap-man-14.3p6 ? orphaned: base
FreeBSD-sendmail-dev-14.3p6 ? orphaned: base
FreeBSD-sendmail-dev-lib32-14.3p6 ? orphaned: base
FreeBSD-sendmail-lib32-14.3p6 ? orphaned: base
FreeBSD-tests-man-14.3p6 ? orphaned: base
FreeBSD-unbound-14.3p6 ? orphaned: base
FreeBSD-unbound-dev-14.3p6 ? orphaned: base
FreeBSD-unbound-dev-lib32-14.3p6 ? orphaned: base
FreeBSD-unbound-lib32-14.3p6 ? orphaned: base
FreeBSD-unbound-man-14.3p6 ? orphaned: base
enabled: yes setting as per the release notes? Mine looks like the one from the handbook upgrading page referenced above.base_latest (15.0-STABLE) and it had zero issues like this. It includes the MINIMAL kernel, does not complain of the signing keys, etc. What makes it different?UFS2.That said, please show the output ofpkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'
Are you using ZFS on root?
# pkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'IGNORE_OSVERSION = false;
BACKUP_LIBRARIES = true;
BACKUP_LIBRARY_PATH = "/usr/local/lib/compat/pkg";
ABI = "FreeBSD:14:amd64";
ALTABI = "freebsd:14:x86:64";
OSVERSION = "1403000";
Repositories:
FreeBSD-ports: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/base_release_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
It looks like URLs are fine, the quote is from freebsd-base(7)Isn’t the URL supposed to be ://pkgbase.FreeBSD…….?
Packages for all supported FreeBSD releases as well as active "STABLE"
and "CURRENT" branches are hosted on the Internet at
https://pkg.freebsd.org. These packages are updated when new errata or
security updates are released (for supported release versions), or
twice daily for development branches.
I'd also like to ask the experts: what's the sacred meaning of such complex expressions if everything can be done faster and easier using the command:pkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'
# pkg-static -vv # grep '^[^#]' /usr/local/etc/pkg/repos/FreeBSD.conf? # cat /usr/local/etc/pkg/repos/FreeBSD.conf1. Everything is fine here:
Convert 14.3 (pkgbasify.lua) - OK.
# cat /usr/local/etc/pkg/repos/FreeBSD-base.conf
Code:FreeBSD-base: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_0", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes# freebsd-version -kru
Code:14.3-RELEASE-p6 14.3-RELEASE-p6 14.3-RELEASE-p6# pkg-static update
Code:Updating FreeBSD-ports repository catalogue... Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 Fetching data.pkg: 100% 10 MiB 2.2MB/s 00:05 Processing entries: 100% FreeBSD-ports repository update completed. 36617 packages processed. Updating FreeBSD-ports-kmods repository catalogue... Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 Fetching data.pkg: 100% 31 KiB 32.3kB/s 00:01 Processing entries: 100% FreeBSD-ports-kmods repository update completed. 213 packages processed. Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. All repositories are up to date.# pkg-static upgrade
Code:Updating FreeBSD-ports repository catalogue... FreeBSD-ports repository is up to date. Updating FreeBSD-ports-kmods repository catalogue... FreeBSD-ports-kmods repository is up to date. Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. All repositories are up to date. Checking for upgrades (1267 candidates): 100% Processing candidates (1267 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date.
2. Everything is very bad here.
# env ABI=FreeBSD:15:amd64 pkg-static upgrade -r FreeBSD-base
Code:pkg-static: Setting ABI requires setting OSVERSION, guessing the OSVERSION as: 1500000 pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating FreeBSD-base repository catalogue... pkg-static: Repository FreeBSD-base has a wrong packagesite, need to re-create database Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 Fetching data.pkg: 100% 80 KiB 81.6kB/s 00:01 pkg-static: No trusted public keys found FreeBSD-base repository is up to date. FreeBSD-base is up to date. pkg-static: Repository FreeBSD-base has a wrong packagesite, need to re-create database pkg-static: Repository FreeBSD-base cannot be opened. 'pkg update' required Updating database digests format: 100% Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date.# pkg bootstrap -f
Code:ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"# pkg add -f https://pkg.freebsd.org/FreeBSD:15:$(uname -p)/base_release_0/FreeBSD-pkg-bootstrap-15.0.pkg
Code:Fetching FreeBSD-pkg-bootstrap-15.0.pkg: 100% 153 KiB 156.7kB/s 00:01 Installing FreeBSD-pkg-bootstrap-15.0... pkg: wrong architecture: FreeBSD:15:amd64 instead of FreeBSD:14:amd64 Newer FreeBSD version for package FreeBSD-pkg-bootstrap: To ignore this error set IGNORE_OSVERSION=yes - package: 1500068 - running userland: 1403000 Ignore the mismatch and continue? [y/N]: y package FreeBSD-pkg-bootstrap is already installed, forced install pkg: FreeBSD-pkg-bootstrap-15.0 conflicts with FreeBSD-pkg-bootstrap-man-14.3p6 (installs files into the same place). Problematic file: /usr/share/man/man7/pkg.7.gz ignored by forced mode Extracting FreeBSD-pkg-bootstrap-15.0: 100%# pkg update
Code:ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"# pkg -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'
Code:ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "pkg"
OSVERSION = "1403000"; your running kernel is still at 14.3-RELEASE. You can also verify that by freebsd-version -kru.conf files, but ls -l /etc/pkg/FreeBSD.conf /usr/local/etc/pkg.conf /usr/local/etc/pkg/repos/*.confFreeBSD-port and FreeBSD-ports-kmods belonging to a 15.0-RELEASE environment.pkg-static -vvoutput as: FreeBSD-ports: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
[...]
FreeBSD-ports-kmods, as in your output: FreeBSD-ports-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_3",
kld_list="i915kms".conf settings as what would be appropriate for a packaged base 14.3-RELEASE and verify these settings.FreeBSD-kmods repository.[1-0] # cat /etc/pkg/FreeBSD.conf
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#
FreeBSD: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-kmods: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_3",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
FreeBSD-base:FreeBSD: {
url: pkg+https://pkg.freebsd.org/${ABI}/latest,
enabled: yes,
}
FreeBSD-kmods: {
url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_3,
priority: 0,
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
mirror_type: "srv",
enabled: yes,
}
FreeBSD-base: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_3",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints = "/usr/share/keys/pkg";
enabled = yes;
}
FreeBSD-kmods and FreeBSD-baserepository..conf file in /usr/local/etc/pkg/repos/ pkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p' looks good. pkg-static upgrade -f -r FreeBSD-base. freebsd-version -kru; you probably should now reboot.These are my (subjective) preferences, partly because of my experience with sed(1), partly otherwise. I'll try to explain.I'd also like to ask the experts: what's the sacred meaning of such complex expressions if everything can be done faster and easier using the command:That said, please show the output ofpkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'
Are you using ZFS on root?
# pkg-static -vv
Or, for example, they write the command:
# grep '^[^#]' /usr/local/etc/pkg/repos/FreeBSD.conf?
It's faster and more efficient to type:
# cat /usr/local/etc/pkg/repos/FreeBSD.conf
pkg-static -vv or pkg -vv provides a lot of output, much more than I need to help. # grep '^[^#]' /usr/local/etc/pkg/repos/FreeBSD.conf?.conf file (users may also have extensive comments not beginning with a # at the very beginning of a line). It does also not display any other files in /usr/local/etc/pkg/repos/; there may very well be a /usr/local/etc/pkg/repos/FreeBSD-base.conf in addition to /usr/local/etc/pkg/repos/FreeBSD.conf. Furthermore, when pkg(8) is executed it uses more files:.conf files as in /usr/local/etc/pkg/repos/*.conf pkg -vv uses and 'partially parses' all of these; variables are expanded: you don't see any ${VERSION_MINOR} in its output. This also applies to cat /usr/local/etc/pkg/repos/FreeBSD.conf, it doesn't tell the whole story. BACKUP is one of those; with OSVERSION I see pretty accurately what OS version is runnning without having to ask for running a specific command like freebsd-version(1) or uname(1). With sed(1), I can filter more specifically than with grep; I don't see a way how to filter the pkg -vv with grep exactly as with pkg-static -vv | sed -nE -e '/(OSVERSION|ABI|BACKUP)/ p' -e '/^Repositories:/,$ p'