|
NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD. |
|
Thread Tools | Display Modes |
|
|||
PKG_PATH and pkg_install.conf
Hi,
Code:
uname -a NetBSD LeNetBSD1 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 If I try with an uninstalled package, I get : Code:
pkg_info consolekit-1.2.1nb3.tgz pkg_info: can't find package `consolekit-1.2.1nb3.tgz' Code:
cat /etc/pkg_install.conf PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_2019Q4/All/" So I try with PKG_PATH : Code:
export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_2019Q4/All/" ; pkg_info consolekit-1.2.1nb3.tgz The only way I can get something with PKG_PATH is : Code:
export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_2019Q4/All/" ; pkg_info "${PKG_PATH}consolekit-1.2.1nb3.tgz" I certainly miss something here but what ? |
|
||||
Quote:
Quote:
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
|
|||
pkg_info never read PKG_PATH.
pkg_info read PKG_DBDIR from - the -K flag - the command line with export - /etc/pkg_install.conf. I find that strange but that work this way. Thanks. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where is PKG_PATH stored | scottro | OpenBSD Packages and Ports | 8 | 9th July 2016 06:44 AM |
PKG_PATH not changing | Roydd85 | OpenBSD Packages and Ports | 12 | 7th April 2016 01:30 AM |
export PKG_PATH | betweendayandnight | OpenBSD General | 4 | 9th August 2015 12:07 PM |
can't setup PKG_PATH after install of 5.5 | spermwhale_warrior | OpenBSD Packages and Ports | 10 | 26th August 2014 09:29 PM |
Failed building pkg_install | Graaf_van_Vlaanderen | NetBSD Package System (pkgsrc) | 2 | 18th April 2009 12:26 PM |