Date: Sun, 13 Jul 2008 12:12:15 +0530 From: "N. Raghavendra" <raghu@mri.ernet.in> To: perryh@pluto.rain.com Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE Message-ID: <86skuee14o.fsf@riemann.mri.ernet.in> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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/ You could use the `-r' option of pkg_add(1) to enable remote fetching. % setenv PACKAGESITE 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/' % 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,88,54) 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 <raghu@mri.ernet.in> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86skuee14o.fsf>