From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 17:56:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A82316A41F for ; Fri, 30 Sep 2005 17:56:43 +0000 (GMT) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0894143D77 for ; Fri, 30 Sep 2005 17:56:33 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 20331 invoked by uid 89); 1 Oct 2005 03:56:33 +1000 Received: by simscan 1.1.0 ppid: 20303, pid: 20312, t: 2.9001s scanners: clamav: 0.86.1/m:33/d:984 spam: 3.0.4 Received: from unknown (HELO ?192.168.1.34?) (213.202.146.144) by 0 with SMTP; 1 Oct 2005 03:56:30 +1000 In-Reply-To: <20050930175004.GA76811@xor.obsecurity.org> References: <433D4C07.1040704@gmail.com> <08C61163-6D0C-4C30-ABC7-F5999FAD8E1B@redry.net> <20050930170540.GB59432@xor.obsecurity.org> <1C84826E-2B8A-4756-AB89-2177F90A6714@redry.net> <20050930175004.GA76811@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <04AA839F-9683-448D-AD98-E34F5057637A@redry.net> Content-Transfer-Encoding: 7bit From: eoghan Date: Fri, 30 Sep 2005 18:56:28 +0100 To: Kris Kennaway X-Mailer: Apple Mail (2.734) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on luke.segpub.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-questions@freebsd.org, Josh Ockert Subject: Re: pkg_add problem 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: Fri, 30 Sep 2005 17:56:43 -0000 On 30 Sep 2005, at 18:50, Kris Kennaway wrote: > On Fri, Sep 30, 2005 at 06:37:37PM +0100, eoghan wrote: > >> >> On 30 Sep 2005, at 18:05, Kris Kennaway wrote: >> >> >>> On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote: >>> >>> >>>> On 30 Sep 2005, at 15:30, Josh Ockert wrote: >>>> >>>> >>>> >>>>> Uhh... Well my first bet when trying to find stuff on FTP would be >>>>> to follow the path that the address given tries to specify. Had >>>>> you >>>>> tried, you would have found that packages-5.3-release doesn't >>>>> exist >>>>> under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would >>>>> have led you to wonder how to change the site pkg_add -r uses for >>>>> packages. This, appropriately enough, is set in the environment >>>>> variable PACKAGESITE, which you could have found by googling the >>>>> archives (this question came up maybe a week ago) or reading the >>>>> man page. >>>>> >>>>> >>>>> My recommendation would be: >>>>> o Set PACKAGESITE to: >>>>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ >>>>> o pkg_add -rf portupgrade >>>>> o portupgrade -arfP >>>>> >>>>> >>>> >>>> Ok thanks. I have done this... >>>> setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ >>>> packages-5-stable/ >>>> and im still getting the same error. >>>> >>>> >>> >>> Show us the error, it can't be precisely the same one since you >>> changed the environment variable. >>> >> >> i set the PACKAGESITE... then >> pkg_add -r gnome2 >> >> Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/ >> i386/ >> packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no >> access) >> pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ >> i386/packages-5-stable/gnome2.tbz' by URL >> > > Indeed, there is no such file in this directory. You're missing a > Latest/. > Ah! Thanks for your help all. Eoghan