From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 17:50:06 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 92C2316A41F for ; Fri, 30 Sep 2005 17:50:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 465F643D48 for ; Fri, 30 Sep 2005 17:50:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [70.30.70.180]) by elvis.mu.org (Postfix) with ESMTP id 23E411A4E8F; Fri, 30 Sep 2005 10:50:06 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AF74D519EE; Fri, 30 Sep 2005 13:50:04 -0400 (EDT) Date: Fri, 30 Sep 2005 13:50:04 -0400 From: Kris Kennaway To: eoghan Message-ID: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <1C84826E-2B8A-4756-AB89-2177F90A6714@redry.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, Josh Ockert , Kris Kennaway 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:50:06 -0000 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 30, 2005 at 06:37:37PM +0100, eoghan wrote: >=20 > On 30 Sep 2005, at 18:05, Kris Kennaway wrote: >=20 > >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. >=20 > i set the PACKAGESITE... then > pkg_add -r gnome2 >=20 > Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/=20 > packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no =20 > access) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/=20 > i386/packages-5-stable/gnome2.tbz' by URL Indeed, there is no such file in this directory. You're missing a Latest/. Kris --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDPXrMWry0BWjoQKURAos8AJ4+BxRVepY2OA85quQBVF1dvpiQmwCggfFZ rF1WbuhluffKa3a3emGVXkw= =ANk9 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--