From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 08:22:43 2008 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 7A7C6106566C for ; Sun, 13 Jul 2008 08:22:43 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from hrimail.hri.res.in (hrimail.hri.res.in [210.212.50.7]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0B88FC0A for ; Sun, 13 Jul 2008 08:22:42 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from ipc2.mri.ernet.in (unknown [192.168.3.2]) by hrimail.hri.res.in (Postfix) with ESMTP id 6DCBB97E69; Sun, 13 Jul 2008 13:59:45 +0530 (IST) Received: from ipc2 (localhost [127.0.0.1]) by ipc2 (Postfix) with SMTP id 9A9B614C91; Sun, 13 Jul 2008 13:52:34 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id 5B6F514C23; Sun, 13 Jul 2008 13:52:34 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.6/8.13.6) with ESMTP id m6D8G1B4067281; Sun, 13 Jul 2008 13:46:01 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.6/8.13.6/Submit) id m6D8Fxsw067280; Sun, 13 Jul 2008 13:45:59 +0530 (IST) (envelope-from raghu) From: "N. Raghavendra" To: perryh@pluto.rain.com In-Reply-To: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> (perryh@pluto.rain.com's message of "Sat, 12 Jul 2008 21:59:09 -0700") References: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Date: Sun, 13 Jul 2008 13:45:59 +0530 Message-ID: <86k5fq19og.fsf@riemann.mri.ernet.in> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N. Raghavendra" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 08:22:43 -0000 At 2008-07-12T21:59:09-07:00, perryh@pluto.rain.com wrote: > Can someone provide a correct example of setting PACKAGESITE so that > pkg_add will find the 7-stable packages for i386? I have tried > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/ If you are running 7-STABLE, setting `PACKAGESITE' to the above value is unnecessary [Handbook, 4.4.1, Note]: "pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE." In that case, just the `-r' option to pkg_add(1) will do. % uname -r 7.0-STABLE % unsetenv PACKAGESITE % echo $PACKAGESITE PACKAGESITE: Undefined variable. % pkg_add -rv expat scheme: [ftp] user: [] password: [] host: [ftp.freebsd.org] port: [0] document: [/pub/FreeBSD/ports/i386/packages-7-stable/Latest/expat.tbz] ---> ftp.freebsd.org:21 looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 <<< 220 Welcome to freebsd.isc.org. >>> USER anonymous <<< 331 Please specify the password. >>> PASS raghu@griffin.campus.hri <<< 230 Login successful. >>> PWD <<< 257 "/" >>> CWD pub/FreeBSD/ports/i386/packages-7-stable/Latest <<< 250 Directory successfully changed. >>> MODE S <<< 200 Mode set to S. >>> TYPE I <<< 200 Switching to Binary mode. setting passive mode >>> PASV <<< 227 Entering Passive Mode (204,152,184,73,68,212) opening data connection initiating transfer >>> RETR expat.tbz <<< 150 Opening BINARY mode data connection for expat.tbz (148302 bytes). Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/expat.tbz... Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.