source upgrade of OS leaves pkg using pkg.freebsd.org non-functional
Date: Tue, 09 Sep 2025 17:03:42 UTC
Hi, A test vm (which was installed the 'traditional' way 15.0-PRERELEASE #0 main-n280049-b5c46895fddd), then pkg and a few other pkgs like git-tiny and vim, was installed. Then sources were grabbed with git clone https://git.freebsd.org/src.git And then, a make kernel reboot make buildkernel kernel etcupdate -p make installworld etcupdate -B make check-old yes | make delete-old yes | make delete-old-libs reboot cycle was completed and a shiny new 16.0-CURRENT (GENERIC-NODEBUG) #0 main-n280154-fd9e09cb2ab0 resulted. Upon becoming root, running pkg bootstrap -f resulted in the following output: root@fbsd16-vm:~ # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:16:amd64/latest, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:16:amd64/latest/Latest/pkg.pkg: Not Found A pre-built version of pkg could not be found for your system. Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:16:amd64/kmods_latest, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:16:amd64/kmods_latest/Latest/pkg.pkg: Not Found A pre-built version of pkg could not be found for your system. Is this expected? I don't want to use pkgbase at all. I'd like the pkg facility for ports, though. Usually this is in circumstances where I'd just want the vm (or baremetal) system up and running and to configure a couple of tools. Later on, I'd expect to have to hook it up to a local-net poudriere instance. --