From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 08:41:44 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 C29491065672 for ; Sun, 13 Jul 2008 08:41:44 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (oldagora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9251E8FC16 for ; Sun, 13 Jul 2008 08:41:44 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m6D8fhuR090229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 13 Jul 2008 01:41:43 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m6D8fhJc090228; Sun, 13 Jul 2008 01:41:43 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA08737; Sun, 13 Jul 08 01:31:47 PDT Date: Sun, 13 Jul 2008 01:33:18 -0700 From: perryh@pluto.rain.com To: sahil@tandon.net Message-Id: <4879bdce.y5h8w8XA+d8w3XuK%perryh@pluto.rain.com> References: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> <20080713065902.GB1773@shepherd> In-Reply-To: <20080713065902.GB1773@shepherd> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE 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: Sun, 13 Jul 2008 08:41:44 -0000 > 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/...