Date: Sun, 7 Dec 2025 14:04:36 -0800 From: Mark Millard <marklmi@yahoo.com> To: vermaden <vermaden@interia.pl>, FreeBSD-pkgbase@freebsd.org Subject: RE: Upgrade 15.0-PRERELEASE to 15.0-RELEASE Message-ID: <DA81CA37-CD7F-4A50-BFDA-9B520167627B@yahoo.com> References: <DA81CA37-CD7F-4A50-BFDA-9B520167627B.ref@yahoo.com>
index | next in thread | previous in thread | raw e-mail
vermaden <vermaden_at_interia.pl> wrote on Date: Sun, 07 Dec 2025 20:31:05 UTC : > how one upgrades 15.0-PRERELEASE to 15.0-RELEASE version in PKGBASE world? > > I have tried various things but ... pkg(8) just ignores everything. > > # uname -a > FreeBSD freebsd15pre 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n279837-2b5de4330ee1 GENERIC amd64 > > # freebsd-version > 15.0-PRERELEASE > > # freebsd-version -kur > 15.0-PRERELEASE > 15.0-PRERELEASE > 15.0-PRERELEASE > > I have put these into the /etc/pkg/FreeBSD.conf file. > > The 'url:' and 'mirror_type:' need to be modified this way because its highly secure environment that can access outside world only using proxy: > - https://github.com/freebsd/poudriere/issues/1279#issuecomment-3530320210 > > # cat /etc/pkg/FreeBSD.conf > FreeBSD-ports: { > url: "https://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "none", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > FreeBSD-ports-kmods: { > url: "https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}", > mirror_type: "none", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > 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 > } > . . . Guessing a possibility or two . . . Do you have anything specifying: FreeBSD-base: { enabled: yes } ? Without FreeBSD-base being enabled at the time, no pkg command capable of doing a pkg update will actually do so for FreeBSD-base . That is despite wording that indicated otherwise in documentation. Usually one can: enable it then do # pkg update -r FreeBSD-base then disable it and then do the rest of the intended commands after the update has already happened. Another potential issue: does the context actually have a populated: /usr/share/keys/pkgbase-15/ in an appropriate place? === Mark Millard marklmi at yahoo.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA81CA37-CD7F-4A50-BFDA-9B520167627B>
