Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 12:46:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281924] Missing pkg.txz prevents pkg bootstrap
Message-ID:  <bug-281924-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281924

            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 fami=
ly
for host not supported
Address resolution failed for http://pkg.FreeBSD.org/FreeBSD:14:amd64/lates=
t.
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281924-227>