![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I am on OpenBSD 6.4 and have a local mirror of official packages ("openbsd" directory), as well as a local repository of custom packages ("openbsd-bruno" directory).
Here everything works fine: Code:
# export PKG_PATH=https://bruno:MyPassword@mydomain.net/openbsd-bruno/6.4/packages/amd64:https://bruno:MyPassword@mydomain.net/openbsd/6.4/packages/amd64 # pkg_add myscripts Code:
# export TRUSTED_PKG_PATH=https://bruno:MyPassword@mydomain.net/openbsd-bruno/6.4/packages/amd64 # export PKG_PATH=https://bruno:MyPassword@mydomain.net/openbsd/6.4/packages/amd64 # pkg_add myscripts quirks-3.16 signed on 2018-10-12T15:26:25Z Can't find myscripts Am I doing something wrong, or did I find a bug (pkg_add ignores TRUSTED_PKG_PATH)? |
|
||||
![]()
According to the pkg_add(1) man page, TRUSTED_PKG_PATH is searched prior to PKG_PATH. If you are certain that TRUST_PKG_PATH is only working for you when PKG_PATH is undefined, then you have uncovered a reportable bug.
www.openbsd.org/report.html |
|
|||
![]()
Yes, I've done further testing and am convinced the behavior is unexpected. I will report it as a bug. Thanks for the link, jggimi.
|
![]() |
Tags |
openbsd, trusted_pkg_path |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pkg_add php-fpm | psypro | OpenBSD Packages and Ports | 7 | 28th March 2016 12:22 PM |
pkg_add | claxsis | NetBSD Package System (pkgsrc) | 14 | 24th March 2016 11:07 PM |
pkg_add is NOT clever | sw2wolf | FreeBSD Ports and Packages | 7 | 24th August 2012 09:17 AM |
pkg_add times out (?) | Daffy | OpenBSD Packages and Ports | 0 | 27th July 2012 09:41 PM |
pkg_add error | buba | OpenBSD Packages and Ports | 4 | 13th June 2008 03:29 PM |