Date: Thu, 16 Dec 2021 08:20:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260467] /usr/sbin/pkg cannot add ports-mgmt/pkg via directory path (breaks nanobsd) Message-ID: <bug-260467-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260467 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: bugs@FreeBSD.org Reporter: 606u@dir.bg Created attachment 230168 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230168&action= =3Dedit 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. --=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-260467-227>