Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 13:50:04 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        eoghan <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org, Josh Ockert <torstenvl@gmail.com>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: pkg_add problem
Message-ID:  <20050930175004.GA76811@xor.obsecurity.org>
In-Reply-To: <1C84826E-2B8A-4756-AB89-2177F90A6714@redry.net>
References:  <AD7E3186-659A-48C2-9B84-5AE6BB752064@redry.net> <433D4C07.1040704@gmail.com> <08C61163-6D0C-4C30-ABC7-F5999FAD8E1B@redry.net> <20050930170540.GB59432@xor.obsecurity.org> <1C84826E-2B8A-4756-AB89-2177F90A6714@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930175004.GA76811>