Date: Sun, 13 Jul 2008 01:33:18 -0700 From: perryh@pluto.rain.com To: sahil@tandon.net Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE Message-ID: <4879bdce.y5h8w8XA%2Bd8w3XuK%perryh@pluto.rain.com> In-Reply-To: <20080713065902.GB1773@shepherd> References: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> <20080713065902.GB1773@shepherd>
next in thread | previous in thread | raw e-mail | index | archive | help
> Did you specify the -r flag? Without that, the PACKAGESITE > environment variable is note used ... No, I didn't, because -- unless I am misunderstanding the description of the -r flag -- that will cause pkg_add to look *only* on the FTP site. I want it to use packages that have already been downloaded, and use the FTP site only when a needed package is not available locally. I'm trying to install an already-downloaded 10MB package which has quite a few dependencies, several of which were already fetched during a previous attempt. IOW I want the equivalent of specifying the current directory, followed by the FTP site, in PKG_PATH; but the colon in the URL messes that up by looking like a pathname separator. If I tried something like setenv PKG_PATH .:ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/ it would look first in the current directory, then in a subdirectory named ftp, and finally in a directory named //ftp.freebsd.org/...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4879bdce.y5h8w8XA%2Bd8w3XuK%perryh>