From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 21:49:24 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 D50F816A4B3 for ; Wed, 1 Oct 2003 21:49:24 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11EC143F3F for ; Wed, 1 Oct 2003 21:49:24 -0700 (PDT) (envelope-from andrewter@comcast.net) Received: from comcast.net (12-232-30-32.client.attbi.com[12.232.30.32]) by comcast.net (sccrmhc12) with SMTP id <2003100204492001200hse3te> (Authid: andrewter); Thu, 2 Oct 2003 04:49:20 +0000 Message-ID: <3F7BAE36.5040609@comcast.net> Date: Wed, 01 Oct 2003 21:48:54 -0700 From: Andrew Terekhov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20031002040426.E97F316A4F5@hub.freebsd.org> In-Reply-To: <20031002040426.E97F316A4F5@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 04:49:24 -0000 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 How can I change URIs where fetch is looking for the latest packages? Setting PKG_SITES environment variable doesn't have any effect. Editing /usr/local/etc/pkgtools.conf to set PKG_SITES also doesn't change where fetch is going. Handbook, man pages, googling, etc didn't find any references regarding how to configure fetch URIs. I don't want to compile everything through ports because life is short. What should I do? Thanks a lot, Andrew