[Bug 286528] bsdinstall: bootonly.iso fails to install pkgbase
Date: Fri, 02 May 2025 16:17:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286528
Bug ID: 286528
Summary: bsdinstall: bootonly.iso fails to install pkgbase
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: pkgbase
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: emaste@freebsd.org
Attempting to perform a pkgbase install from the bootonly image failed with:
--
[Abort]
Installation of base system packages failed
An installation step has been aborted. Would you like
to restart the installation or exit the installer?
[Restart] [Exit]
--
Image: FreeBSD-15.0-CURRENT-amd64-20250501-f676c13d4226-276914-bootonly.iso.xz
Looking at the debug output (ttyv3) I see `pkg: failed to extract pkg-static:
Failed to create dir '/usr/local/sbin'`
I see that pkgbase script invokes `os.execute("pkg -N > /dev/null 2>&1")` to
check if pkg is available, but pkg -N also returns error if no packages exist
(prints `pkg: package database non-existent`)
--
You are receiving this mail because:
You are the assignee for the bug.