Date: Thu, 2 Oct 2003 03:32:15 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Andrew Terekhov <andrewter@comcast.net> Cc: freebsd-questions@freebsd.org Subject: Re: Setting fetch URIs for portupgrade Message-ID: <20031002103215.GB17569@rot13.obsecurity.org> In-Reply-To: <3F7BAE36.5040609@comcast.net> References: <20031002040426.E97F316A4F5@hub.freebsd.org> <3F7BAE36.5040609@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Oct 01, 2003 at 09:48:54PM -0700, Andrew Terekhov wrote: > Hi all, > > I am running FreeBSD 5.1 Release. I updated all sources, ports and docs > by cvsup. I am trying to do a binary upgrade of my system by installing > latest packages. I run: portupgrade -aPPR. fetch phase fails to get > packages because it goes to a wrong site: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All > > OTOH I can see that the latest packages that portupgrade trying to fetch > are located here: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-stable/All Nope, those are the packages for RELENG_4; the 5.x packages are in packages-5-current. However fetch is actually doing the right thing in only fetching from the packages-5.1-release directory on your 5.1-RELEASE, because packages built for newer versions of FreeBSD-CURRENT are not guaranteed to work on 5.1-RELEASE. > How can I change URIs where fetch is looking for the latest packages? See the pkg_add manpage. > Setting PKG_SITES environment variable doesn't have any effect. Because that's not the right environment variable. Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/e/6vWry0BWjoQKURApwCAJ9EYUavLM8g56jo6E0HlKAU5GC+dwCgyham XRpevtNNvA0eRUPmtMklRos= =SCW1 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031002103215.GB17569>
