Re: pkg 2.7.1 ((poudriere-git-3.4.99.20260414): pkg reports "https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/./Hashed/FreeBSD-libmilter-dev-15.0~8bc9624000.pkg: Forbidden"
Date: Wed, 15 Apr 2026 06:27:18 UTC
On 4/15/26 01:54, Mark Millard wrote: > I attempted (poudriere-devel): > > # poudriere jail -c -jrelease-amd64 -aamd64 \ > -U https://pkg.freebsd.org -mpkgbase=base_release_0 -v 15 -X > > but instead of successfully fetching when poudriere used pkg, pkg > reported after trying to fetch (line wraps in this message): > > pkg: > https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/./Hashed/FreeBSD-libmilter-dev-15.0~8bc9624000.pkg: > Forbidden > > and later another use of pkg by poudriere-devel reported: > > pkg: > https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0/./Hashed/FreeBSD-src-sys-15.0p5~0c0f30544b.pkg: > Forbidden > > No actual fetch of a .pkg file was reported. > > The actual pkg command for those of those looked like: > > pkg -o 'IGNORE_OSVERSION=yes' -o > 'REPOS_DIR=/usr/local/poudriere/jails/release-amd64/etc/pkg' -o > 'ABI=FreeBSD:15:amd64' -r /usr/local/poudriere/jails/release-amd64/ > search -qCx '^FreeBSD-.*' > > and: > > pkg -o 'IGNORE_OSVERSION=yes' -o > 'REPOS_DIR=/usr/local/poudriere/jails/release-amd64/etc/pkg' -o > 'ABI=FreeBSD:15:amd64' -r /usr/local/poudriere/jails/release-amd64/ > search -q ^FreeBSD-src-sys > > > I'll note that trying such for base_latest did not have such problems. > The problem seems to be tied just to just the official pkgbase > 15.0-RELEASE for now. > > > I have submitted: > > https://github.com/freebsd/pkg/issues/2640/ > > for the issue, guessing it is a pkg problem and that the pkg commands > were as they should have been. > I'm seeing similar behaviour with a simple "pkg upgrade" on a newly installed machine. Using "fetch" on the same URL pkg is trying to use causes the same error. Not sure if this is pkg fault or some issue with the mirrors though. -- Guido Falsi <mad@madpilot.net>