• HEADS UP: pkgbase breakage 15.0-{PRERELEASE,ALPHA*,BETA*}

    From Colin Percival@cperciva@freebsd.org to muc.lists.freebsd.stable on Thu Nov 27 14:54:49 2025
    From Newsgroup: muc.lists.freebsd.stable

    Hi all,

    Due to recent changes in FreeBSD.org infrastructure, systems still running 15.0-{PRERELEASE,ALPHA*,BETA*} (aka anything running 15.0 which hasn't
    upgraded to -RC* yet) will find that 'pkg upgrade -r FreeBSD-base' fails,
    since the https://pkg.freebsd.org/FreeBSD:15:foo/base_release_0/ repository (which used to be nightly builds signed with "pkg" keys) has been replaced
    by what used to be on pkgbase.freebsd.org.

    At present the best path forward for you is probably to use git to check out the src tree (head, stable/15, or releng/15.0; doesn't matter in this case)
    and run the commands
    # cp /usr/src/usr.sbin/pkg/FreeBSD.conf.quarterly-release \
    /etc/pkg/FreeBSD.conf
    # cp -R /usr/src/share/keys/pkgbase-15 /usr/share/keys/pkgbase-15
    to get the updated configuration file and signing keys.

    I'm sorry about the inconvenience. This was not my decision.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan Somers@asomers@freebsd.org to muc.lists.freebsd.stable on Wed Dec 17 16:34:03 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Thu, Nov 27, 2025 at 3:55rC>PM Colin Percival <cperciva@freebsd.org> wrote:

    Hi all,

    Due to recent changes in FreeBSD.org infrastructure, systems still running 15.0-{PRERELEASE,ALPHA*,BETA*} (aka anything running 15.0 which hasn't upgraded to -RC* yet) will find that 'pkg upgrade -r FreeBSD-base' fails, since the https://pkg.freebsd.org/FreeBSD:15:foo/base_release_0/ repository (which used to be nightly builds signed with "pkg" keys) has been replaced
    by what used to be on pkgbase.freebsd.org.

    At present the best path forward for you is probably to use git to check out the src tree (head, stable/15, or releng/15.0; doesn't matter in this case) and run the commands
    # cp /usr/src/usr.sbin/pkg/FreeBSD.conf.quarterly-release \
    /etc/pkg/FreeBSD.conf
    # cp -R /usr/src/share/keys/pkgbase-15 /usr/share/keys/pkgbase-15
    to get the updated configuration file and signing keys.
    I have a system running 15.0-BETA5 with pkgbase. Before I followed
    your advice, "pkg upgrade -r FreeBSD-base" simply reported that "Your
    packages are up to date", possibly because /etc/pkg/FreeBSD.conf
    didn't have any entry for FreeBSD-base (but /usr/local/etc/pkg/repos/FreeBSD-base.conf did). After running these
    commands, now "pkg update" fails with "pkg: No trusted public keys
    found". Could you please help me?
    Also, what is the general procedure to upgrade a pkgbase system from
    -BETA to -RELEASE? It isn't described at https://wiki.freebsd.org/action/show/pkgbase?action=show&redirect=PkgBase#Minor_version_upgrades
    .
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan Somers@asomers@freebsd.org to muc.lists.freebsd.stable on Thu Dec 18 07:58:15 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Wed, Dec 17, 2025 at 6:54rC>PM Colin Percival <cperciva@freebsd.org> wrote:

    On 12/17/25 15:34, Alan Somers wrote:
    On Thu, Nov 27, 2025 at 3:55rC>PM Colin Percival <cperciva@freebsd.org> wrote:
    Due to recent changes in FreeBSD.org infrastructure, systems still running >> 15.0-{PRERELEASE,ALPHA*,BETA*} (aka anything running 15.0 which hasn't
    upgraded to -RC* yet) will find that 'pkg upgrade -r FreeBSD-base' fails, >> since the https://pkg.freebsd.org/FreeBSD:15:foo/base_release_0/ repository
    (which used to be nightly builds signed with "pkg" keys) has been replaced >> by what used to be on pkgbase.freebsd.org.

    At present the best path forward for you is probably to use git to check out
    the src tree (head, stable/15, or releng/15.0; doesn't matter in this case)
    and run the commands
    # cp /usr/src/usr.sbin/pkg/FreeBSD.conf.quarterly-release \
    /etc/pkg/FreeBSD.conf
    # cp -R /usr/src/share/keys/pkgbase-15 /usr/share/keys/pkgbase-15
    to get the updated configuration file and signing keys.

    I have a system running 15.0-BETA5 with pkgbase. Before I followed
    your advice, "pkg upgrade -r FreeBSD-base" simply reported that "Your packages are up to date", possibly because /etc/pkg/FreeBSD.conf
    didn't have any entry for FreeBSD-base (but /usr/local/etc/pkg/repos/FreeBSD-base.conf did). After running these commands, now "pkg update" fails with "pkg: No trusted public keys
    found". Could you please help me?

    What do you have in /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
    }

    Also, what is the general procedure to upgrade a pkgbase system from
    -BETA to -RELEASE? It isn't described at https://wiki.freebsd.org/action/show/pkgbase?action=show&redirect=PkgBase#Minor_version_upgrades

    More or less what I wrote above. It's also mentioned in the release notes: https://www.freebsd.org/releases/15.0R/relnotes/#upgrade-rc

    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan Somers@asomers@freebsd.org to muc.lists.freebsd.stable on Thu Dec 18 12:02:59 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Thu, Dec 18, 2025 at 10:40rC>AM Colin Percival <cperciva@freebsd.org> wrote:

    On 12/18/25 06:58, Alan Somers wrote:
    On Wed, Dec 17, 2025 at 6:54rC>PM Colin Percival <cperciva@freebsd.org> wrote:
    On 12/17/25 15:34, Alan Somers wrote:
    On Thu, Nov 27, 2025 at 3:55rC>PM Colin Percival <cperciva@freebsd.org> wrote:
    Due to recent changes in FreeBSD.org infrastructure, systems still running
    15.0-{PRERELEASE,ALPHA*,BETA*} (aka anything running 15.0 which hasn't >>>> upgraded to -RC* yet) will find that 'pkg upgrade -r FreeBSD-base' fails,
    since the https://pkg.freebsd.org/FreeBSD:15:foo/base_release_0/ repository
    (which used to be nightly builds signed with "pkg" keys) has been replaced
    by what used to be on pkgbase.freebsd.org.

    At present the best path forward for you is probably to use git to check out
    the src tree (head, stable/15, or releng/15.0; doesn't matter in this case)
    and run the commands
    # cp /usr/src/usr.sbin/pkg/FreeBSD.conf.quarterly-release \
    /etc/pkg/FreeBSD.conf
    # cp -R /usr/src/share/keys/pkgbase-15 /usr/share/keys/pkgbase-15
    to get the updated configuration file and signing keys.

    I have a system running 15.0-BETA5 with pkgbase. Before I followed
    your advice, "pkg upgrade -r FreeBSD-base" simply reported that "Your
    packages are up to date", possibly because /etc/pkg/FreeBSD.conf
    didn't have any entry for FreeBSD-base (but
    /usr/local/etc/pkg/repos/FreeBSD-base.conf did). After running these
    commands, now "pkg update" fails with "pkg: No trusted public keys
    found". Could you please help me?

    What do you have in /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
    }

    Ah, that explains it. Right, you need to remove everything from there
    except the "enabled: yes" part. Otherwise you're overriding the 15.0
    release configuration and pointing back at the keys used on BETA5.
    Thanks, that fixed it. FWIW, this is my only pkgbase system so far.
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2