Re: pkg broken?

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Fri, 05 Sep 2025 13:40:45 UTC
On Fri, Sep 05, 2025 at 03:30:49PM +0200, Herbert J. Skuhra wrote:
> On Thu, 04 Sep 2025 01:19:48 +0200, Graham Perrin wrote:
> > 
> > On 03/09/2025 02:20, Dan Mahoney (Ports) wrote:
> > > Hey all,
> > > 
> > > After an update today to what looks like snap20250828153719.pkg, it would seem pkg doesn’t want to play ball.
> > > 
> > > root@poudriere-pkb:/etc/pkg # pkg update
> > > Updating FreeBSD-ports repository catalogue...
> > > FreeBSD-ports repository is up to date.
> > > Updating FreeBSD-ports-kmods repository catalogue...
> > > FreeBSD-ports-kmods repository is up to date.
> > > Updating FreeBSD-base repository catalogue...
> > > FreeBSD-base repository is up to date.
> > > Updating FreeBSD repository catalogue...
> > > pkg: packagesite URL error for pkg+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 -- 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 -- pkg+:// implies SRV mirror type
> > > pkg: packagesite URL error for pkg+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 -- pkg+:// implies SRV mirror type
> > > pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/packagesite.tzst -- pkg+:// implies SRV mirror type
> > > Unable to update repository FreeBSD
> > > Error updating repositories!
> > > root@poudriere-pkb:/etc/pkg # uname -a
> > > FreeBSD poudriere-pkb.isc.org 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n280004-00c9ebbbc653 GENERIC amd64
> > > root@poudriere-pkb:/etc/pkg # freebsd-version
> > > 15.0-PRERELEASE
> > > 
> > > 
> > > …
> > 
> > 
> > Which mirror?
> > 
> > One comparable report, from a user of RELEASE with the Chicago mirror:
> > 
> > <https://www.reddit.com/r/freebsd/comments/1mzvgxm/comment/nbjxyvt/>
> 
> Same issue after updating stable/14 to stable/15. I don't use pkgbase.
> pkg is using the mirror in Sjöbo, Sverige (pkg0.sjb.freebsd.org).

Sorry, please ignore.

Removing the file /usr/local/etc/pkg/repos/FreeBSD.conf resolved the
issue. Running 'pkg epositories' helped. :-)