https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260467
Bug ID: 260467
Summary: /usr/sbin/pkg cannot add ports-mgmt/pkg via directory
path (breaks nanobsd)
Product: Base System
Version: 12.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 230168
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230168&action=edit
Fix
Basically
/usr/sbin/pkg add -f -y pkg-1.2.3.pkg
works correctly, whereas
/usr/sbin/pkg add -f -y /path/to/pkg-1.2.3.pkg
does not, due to the way `pkg_is_pkg_pkg()` tests if package is ports-mgmt/pkg.
This behaviour breaks nanobsd scripts, as well.
--
You are receiving this mail because:
You are the assignee for the bug.