Re: `poudriere -b latest` on 15.0-RELEASE: Not fetching as remote repository is unavailable.

Robert William Vesterman <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Your log says:

"Unable to update repository FreeBSD".

I got a related (but different) problem after upgrading to 15.0. I 
figured out that it looks like the repository "FreeBSD" has been deleted 
and replaced in 15.0 with two separate ones, "FreeBSD-ports" and 
"FreeBSD-ports-kmods".

In my case, the immediate issue was that my custom settings in 
/usr/local/etc/pkg/repos/FreeBSD.conf to disable FreeBSD (I use a local 
repository instead) were ignored, since FreeBSD no longer exists, and 
the newly-updated default settings in /etc/pkg/FreeBSD.conf say that 
both FreeBSD-ports and FreeBSD-ports-kmods should be enabled. So if I 
asked "pkg install" for a package that wasn't in my local repository, it 
would pull it from the new repos (which I did not want it to do) rather 
than just informing me that the package wasn't in the repo.

I feel like this seems like something that perhaps should have been 
mentioned in "pkg updating"  (or some such place), by the way.


On 12/4/2025 3:11 PM, Nuno Teixeira wrote:
> Hello all,
>
> Got 13.5R and 14.3R working fine. Used same method with latest 15.0R 
> and got issues above.
>
> Anyone having same problem?
>
> Thanks
>
> # poudriere jail -c -j 150amd64 -v 15.0-RELEASE
> # poudriere testport -b latest -j 150amd64 -p YOUR_PORTS -o SOME_PORT
>
> [00:00:00] Mounting packages from: 
> /usr/local/poudriere/data/packages/150amd64-main
> [00:00:00] Mounting distfiles from: /Arq/DISTFILES
> [00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
> /etc/resolv.conf -> 
> /usr/local/poudriere/data/.m/150amd64-main/ref/etc/resolv.conf
> [00:00:00] Starting jail 150amd64-main
> Updating /var/run/os-release done.
> [00:00:01] Will build as nobody:nobody (65534:65534)
> [00:00:02] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
> [00:00:02] Acquiring build logs lock for 150amd64-main... done
> [00:00:03] Logs: 
> /usr/local/poudriere/data/logs/bulk/150amd64-main/2025-12-04_20h07m22s
> [00:00:03] Loading MOVED for 
> /usr/local/poudriere/data/.m/150amd64-main/ref/usr/ports
> [00:00:04] Gathering ports metadata
> [00:00:05] Calculating ports order and dependencies
> [00:00:05] Sanity checking the repository
> [00:00:05] (testport) Flushing package deletions
> [00:00:05] Trimming IGNORED and blacklisted ports
> [00:00:05] Package fetch: Looking for missing packages to fetch from 
> pkg+http://pkg.FreeBSD.org/${ABI}/latest 
> <http://pkg.FreeBSD.org/${ABI}/latest>
> [00:00:05] Packge fetch: bootstrapping pkg
> Bootstrapping pkg from 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest>, please wait...
> [150amd64-main] Installing pkg-2.4.2_1...
> [150amd64-main] Extracting pkg-2.4.2_1: 100%
> Updating FreeBSD-ports repository catalogue...
> [150amd64-main] Fetching meta.conf: 100%    179 B   0.2kB/s  00:01
> [150amd64-main] Fetching data.pkg: 100%   10 MiB   1.8MB/s  00:06
> Processing entries: 100%
> FreeBSD-ports repository update completed. 36512 packages processed.
> Updating FreeBSD-ports-kmods repository catalogue...
> [150amd64-main] Fetching meta.conf: 100%    179 B   0.2kB/s  00:01
> [150amd64-main] Fetching data.pkg: 100%   31 KiB  31.8kB/s  00:01
> Processing entries: 100%
> FreeBSD-ports-kmods repository update completed. 207 packages processed.
> Updating FreeBSD repository catalogue...
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.conf 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.conf> -- pkg+:// 
> implies SRV mirror type
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.txz 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.txz> -- pkg+:// 
> implies SRV mirror type
> repository FreeBSD has no meta file, using default settings
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/data.pkg 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/data.pkg> -- pkg+:// 
> implies SRV mirror type
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/data.tzst 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/data.tzst> -- pkg+:// 
> implies SRV mirror type
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/packagesite.pkg 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/packagesite.pkg> -- 
> pkg+:// implies SRV mirror type
> pkg: packagesite URL error for 
> pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/packagesite.tzst 
> <http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/packagesite.tzst> -- 
> pkg+:// implies SRV mirror type
> Unable to update repository FreeBSD
> Error updating repositories!
> [00:00:23] Package fetch: Not fetching as remote repository is 
> unavailable.
> [00:00:23] pkg bootstrap missing: unable to inspect existing packages, 
> cleaning all packages... done
> [00:00:23] Deleting stale symlinks... done
> [00:00:23] Deleting empty directories... done
> [00:00:23] Unqueueing existing packages
> [00:00:23] Unqueueing orphaned build dependencies
> [00:00:23] Sanity checking build queue
> [00:00:24] Recording filesystem state for prepkg... done
> [00:00:24] Processing PRIORITY_BOOST
> [00:00:25] Building 44 packages using up to 2 builders
> [00:00:25] Hit CTRL+t at any time to see build progress and stats
> [00:00:25] [01] [00:00:00] Builder starting
> [00:00:25] [01] [00:00:00] Builder started
> [00:00:25] [01] [00:00:00] Building   ports-mgmt/pkg | pkg-2.4.2_1
>
>
> -- 
> Nuno Teixeira
> FreeBSD UNIX: <[email protected]>   Web: https://FreeBSD.org 
> <https://FreeBSD.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.