>uname -a
FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27
15:06:39 CST 2010     r...@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL 
i386

>echo $PKG_PATH
PKG_PATH: Undefined variable.

>cat .cshrc |grep -i package
setenv PACKAGESITE
ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

So you should use PACKAGESITE instead of PKG_PATH you mentioned .


Fbsd1 wrote:
> 
> I checked the pkg_add manpage for where does pkg_add look for the named 
> pkg distribution file? It says the env PKG_PATH holds it but env command 
> does not show that variable. Is it /usr/packages or /usr/ports/packages?
> 
> How can I see the value of PKG_PATH?
> What is the path of where the pkg distribution file are suppose to reside.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
> 
> 


-----
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/pkg_add-tp28988075p28988141.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to