From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 03:32:38 2003 Return-Path: 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 2F4A116A4BF for ; Thu, 2 Oct 2003 03:32:38 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-253.dsl.lsan03.pacbell.net [64.169.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84BC943FA3 for ; Thu, 2 Oct 2003 03:32:25 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id EB4C866D32; Thu, 2 Oct 2003 03:32:15 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id BAC21AF8; Thu, 2 Oct 2003 03:32:15 -0700 (PDT) Date: Thu, 2 Oct 2003 03:32:15 -0700 From: Kris Kennaway To: Andrew Terekhov Message-ID: <20031002103215.GB17569@rot13.obsecurity.org> References: <20031002040426.E97F316A4F5@hub.freebsd.org> <3F7BAE36.5040609@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <3F7BAE36.5040609@comcast.net> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Setting fetch URIs for portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 10:32:38 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2003 at 09:48:54PM -0700, Andrew Terekhov wrote: > Hi all, >=20 > I am running FreeBSD 5.1 Release. I updated all sources, ports and docs= =20 > by cvsup. I am trying to do a binary upgrade of my system by installing= =20 > latest packages. I run: portupgrade -aPPR. fetch phase fails to get=20 > packages because it goes to a wrong site:=20 > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5.1-release/All >=20 > OTOH I can see that the latest packages that portupgrade trying to fetch= =20 > 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?=20 See the pkg_add manpage. > Setting PKG_SITES environment variable doesn't have any effect. Because that's not the right environment variable. Kris --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/e/6vWry0BWjoQKURApwCAJ9EYUavLM8g56jo6E0HlKAU5GC+dwCgyham XRpevtNNvA0eRUPmtMklRos= =SCW1 -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--