[Bug 281924] Missing pkg.txz prevents pkg bootstrap

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Oct 2024 12:46:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281924

            Bug ID: 281924
           Summary: Missing pkg.txz prevents pkg bootstrap
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: vince@vincentbentley.co.uk

A never before used pkg on this install attempts to bootstrap pkg by pulling
https://pkg.freebsd.org/FreeBSD:14:amd64/latest/Latest/pkg.txz but the file
does not exist.

For comparison, pkg.txz is present in the repo for FreeBSD 13
https://pkg.freebsd.org/FreeBSD:13:amd64/latest/Latest/

I noticed the fault after building podman images from
https://github.com/dfr/freebsd-images and being unable to bootstrap pkg from
and amd64 image.

$ sudo podman run -it localhost/freebsd14.1-small sh
# pkg bootstrap
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+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest,
please wait...
pkg: Error fetching
http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/Latest/pkg.txz: Address family
for host not supported
Address resolution failed for http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest.
Consider changing PACKAGESITE.

When viewing http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/Latest/ in a web
browser you can see that pkg.txz is missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.