"vermaden" vermaden@interia.pl rCo 8 December 2025 7:32 AM/usr/local/etc/pkg/repos/FreeBSD.conf has been removed (the whole /usr/local/etc/pkg directory can be removed unless you have custom stuff).
FreeBSD-base: {
url: "https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
mirror_type: "none",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
enabled: no
}
Hi Vermaden,
You'll want to enable the repo 'enable: yes' and make sure the
pkg update
again and you should be good.
Cheers.
how one upgrades 15.0-PRERELEASE to 15.0-RELEASE version in PKGBASE world?I don't suppose rCLenabling the FreeBSD-base repositoryrCY is among the
I have tried various things but ... pkg(8) just ignores everything.
[...]
FreeBSD-base: {
url: "https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
mirror_type: "none",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
enabled: no
}
The '.snap*' part varies in these:That's perfectly normal.
# pkg info | awk '/^FreeBSD/ {print $1}' | awk -F '.' '{print $NF}' | sort -upkg query -e '%o ~ base/*' %v | sort -u
- I needed to create 'trusted certificates' from 15.0-RELEASE system - just adding it here because it my help some ...W dniu 7.12.2025 o 22:34, vermaden pisze:
Thank You for finding that stupid mistake of mine ... for the record
It is expected that upgrading from PRERELEASE to 15.0-RELEASE willfail.
For more insight please check [1].!
Thank you for sharing this howto with a workaround with the community
Cheers
Marek
[1]:
/usr/share/keys/pkgbase-15/trusted
# pkg update
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...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 80 KiB 81.6kB/s 00:01
pkg: Error opening the trusted directory
[FreeBSD-base]pkg: Error loading trusted certificates
FreeBSD-base repository is up to date.
All repositories are up to date.
# cd /usr/share/keys/pkgbase-15/trusted
cd: no such file or directory: /usr/share/keys/pkgbase-15/trusted
# mkdir -pv /usr/share/keys/pkgbase-15/trusted
/usr/share/keys/pkgbase-15
/usr/share/keys/pkgbase-15/trusted
# cat << EOF > /usr/share/keys/pkgbase-15/trusted/awskms-15
function: "sha256"
fingerprint: "1d7b45d20fa8d6ed26f9b4a13ac81a6b5df860b9fe644d07b87e92298ba72595"
EOF
# cat << EOF > /usr/share/keys/pkgbase-15/trusted/backup-signing-15
function: "sha256"
fingerprint: "56a77bdcb6c3cf7984729c6138bd5617c24aa0d466b3b604c96205b2c5629f3c"
EOF
# pkg update
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...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 80 KiB 81.6kB/s 00:01
Processing entries: 0%
Newer FreeBSD version for package FreeBSD-zlib-dbg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500068
- running userland: 1500063
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
FreeBSD-base repository update completed. 496 packages processed.
All repositories are up to date.
# pkg upg
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 (391 candidates): 100%
Processing candidates (391 candidates): 100%
The following 283 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
FreeBSD-bluetooth-lib: 15.0 [FreeBSD-base]
FreeBSD-bzip2: 15.0 [FreeBSD-base]
FreeBSD-clibs-lib32: 15.0 [FreeBSD-base]
FreeBSD-ctf-lib: 15.0 [FreeBSD-base]
FreeBSD-flua: 15.0 [FreeBSD-base]
FreeBSD-ncurses-lib: 15.0 [FreeBSD-base]
FreeBSD-zfs-lib: 15.0 [FreeBSD-base]
FreeBSD-zlib: 15.0 [FreeBSD-base]
Installed packages to be UPGRADED:
FreeBSD-acct: 15.snap20250819212823 -> 15.0 [FreeBSD-base]
FreeBSD-acct-dbg: 15.snap20250819212823 -> 15.0
[FreeBSD-base]FreeBSD-acpi: 15.snap20250821215856 -> 15.0 [FreeBSD-base]
(...)
FreeBSD-zfs-dbg: 15.snap20250824225045 -> 15.0
[FreeBSD-base]FreeBSD-zfs-dev: 15.snap20250824225045 -> 15.0
[FreeBSD-base]FreeBSD-zoneinfo: 15.snap20250808125411 -> 15.0
"vermaden" <vermaden@interia.pl>;
Number of packages to be installed: 8
Number of packages to be upgraded: 275
The operation will free 92 MiB.
722 MiB to be downloaded.
Proceed with this action? [y/N]:
Thanks,
vermaden
Temat: Re: Upgrade 15.0-PRERELEASE to 15.0-RELEASE
Data: 2025-12-07 22:13
Nadawca: "Jason Tubnor" <jason@tubnor.net>
Adresat: freebsd-stable@freebsd.org; freebsd-pkgbase@freebsd.org;
"https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
"vermaden" vermaden@interia.pl rCo 8 December 2025 7:32 AM
FreeBSD-base: {
url:
stuff)./usr/local/etc/pkg/repos/FreeBSD.conf has been removed (the wholemirror_type: "none",Hi Vermaden,
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
enabled: no
}
You'll want to enable the repo 'enable: yes' and make sure the
/usr/local/etc/pkg directory can be removed unless you have custom
pkg update
again and you should be good.
Cheers.
On 7 Dec 2025, at 22:34, vermaden <vermaden@interia.pl> wrote:I needed to create 'trusted certificates' from 15.0-RELEASE system - =
=20
Thank You for finding that stupid mistake of mine ... for the record - =
=20/usr/share/keys/pkgbase-15/trusted
# pkg update =20
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...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 =20
Fetching data.pkg: 100% 80 KiB 81.6kB/s 00:01 =20
pkg: Error opening the trusted directory =
pkg: Error loading trusted certificates
FreeBSD-base repository is up to date.
All repositories are up to date.
=20
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 54 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 14:19:04 |
| Calls: | 742 |
| Files: | 1,218 |
| D/L today: |
3 files (2,681K bytes) |
| Messages: | 183,842 |
| Posted today: | 1 |