pkg_add

Glen Barber glen.j.barber at gmail.com
Fri Jun 25 01:23:11 UTC 2010


On 6/24/10 9:01 PM, zaxis wrote:
>
>> uname -a
> FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27
> 15:06:39 CST 2010     root at 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 .
>
>

Not entirely true.

Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/

Regards,

-- 
Glen Barber


More information about the freebsd-questions mailing list