Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th January 2019
brudan brudan is offline
Fdisk Soldier
Join Date: Dec 2018
Posts: 82
Default pkg_add ignores TRUSTED_PKG_PATH

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:
# 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
But no luck with this:

# 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
I'd like to make TRUSTED_PKG_PATH work so that I don't have to sign my custom packages. I tried putting quotes and/or trailing forward slash around the url and no luck.

Am I doing something wrong, or did I find a bug (pkg_add ignores TRUSTED_PKG_PATH)?
Reply With Quote

openbsd, trusted_pkg_path

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT. The time now is 11:36 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick