From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:01:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA5D106564A for ; Fri, 25 Jun 2010 01:01:53 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DE4D18FC1D for ; Fri, 25 Jun 2010 01:01:52 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1ORxIm-0000Yn-8S for freebsd-questions@freebsd.org; Thu, 24 Jun 2010 18:01:52 -0700 Message-ID: <28988141.post@talk.nabble.com> Date: Thu, 24 Jun 2010 18:01:52 -0700 (PDT) From: zaxis To: freebsd-questions@freebsd.org In-Reply-To: <4C23FD6E.10702@a1poweruser.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: z_axis@163.com References: <4C23FD6E.10702@a1poweruser.com> Subject: Re: pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 01:01:53 -0000 >uname -a FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 2= 7 15:06:39 CST 2010 root@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL=20 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: >=20 > I checked the pkg_add manpage for where does pkg_add look for the named= =20 > pkg distribution file? It says the env PKG_PATH holds it but env command= =20 > does not show that variable. Is it /usr/packages or /usr/ports/packages? >=20 > 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-unsubscribe@freebsd.org" >=20 >=20 ----- e^(=CF=80=E2=8B=85i) + 1 =3D 0 --=20 View this message in context: http://old.nabble.com/pkg_add-tp28988075p2898= 8141.html Sent from the freebsd-questions mailing list archive at Nabble.com.