From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 06:59:05 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 E758E106566B for ; Sun, 13 Jul 2008 06:59:05 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id CCF148FC0C for ; Sun, 13 Jul 2008 06:59:05 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 2BC8A5C2D; Sun, 13 Jul 2008 02:59:06 -0400 (EDT) X-Virus-Scanned: by ClamAV at aegis.hamla.org Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sC7tm5sssdeF; Sun, 13 Jul 2008 02:59:04 -0400 (EDT) Date: Sun, 13 Jul 2008 02:59:02 -0400 From: Sahil Tandon To: perryh@pluto.rain.com Message-ID: <20080713065902.GB1773@shepherd> Mail-Followup-To: perryh@pluto.rain.com, freebsd-questions@freebsd.org References: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48798b9d.0bgmwrViDqPyEGdk%perryh@pluto.rain.com> Cc: freebsd-questions@freebsd.org Subject: Re: PACKAGESITE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 06:59:06 -0000 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/ > > as shown in the handbook, and also: > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/ > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/ > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable > > and all have failed. I get messages like > > pkg_add: could not find package expat-2.0.1 ! > pkg_add: could not find package png-1.2.28 ! > pkg_add: could not find package pkg-config-0.23_1 ! > > etc. Even specifying -v does not cause pkg_add to show exactly [...] Did you specify the -r flag? Without that, the PACKAGESITE environment variable is note used. From the ENVIRONMENT section of pkg_add(1): The environment variable PACKAGESITE specifies an alternate location for pkg_add to fetch from. This variable subverts the automatic directory logic that pkg_add uses when the -r option is invoked. Thus it should be a complete URL to the remote package file(s). -- Sahil Tandon