From owner-freebsd-questions@FreeBSD.ORG  Fri Sep  3 18:21:33 2004
Return-Path: <owner-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 141D116A4CE
	for <freebsd-questions@freebsd.org>;
	Fri,  3 Sep 2004 18:21:33 +0000 (GMT)
Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AC16543D41
	for <freebsd-questions@freebsd.org>;
	Fri,  3 Sep 2004 18:21:32 +0000 (GMT)
	(envelope-from mark@ukug.uk.freebsd.org)
Received: from movens.plus.com ([80.229.231.20] helo=[127.0.0.1])
	by ptb-relay03.plus.net with esmtp (Exim) id 1C3Igh-000H3o-UQ;
	Fri, 03 Sep 2004 18:21:30 +0000
Message-ID: <4138B6B5.1030707@ukug.uk.freebsd.org>
Date: Fri, 03 Sep 2004 19:23:49 +0100
From: Mark Ovens <mark@ukug.uk.freebsd.org>
User-Agent: Mozilla Thunderbird 7.0 (Windows/20040901)
X-Accept-Language: en-gb, en-us
MIME-Version: 1.0
To: kstewart <kstewart@owt.com>
References:
	<A0A204EE2E51BC41BCDE3C1DD86D35ED02543B10@gblon1exch06.uk.mcilink.com>
	<200409020849.24078.kstewart@owt.com>
In-Reply-To: <200409020849.24078.kstewart@owt.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
cc: Philip Payne <philip.payne@uk.mci.com>
cc: freebsd-questions@freebsd.org
Subject: Re: Package version problem with portupgrade(1)
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2004 18:21:33 -0000

kstewart wrote:
> His PACKAGESITE environment variable is set to a wrong location. I think that 
> he needs to set it using something like
> 
> setenv PACKAGESITE 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All
> 

Thanks Kent, but it didn't work. Setting it made it search in 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/All. I eventually found 
that it's PKG_SITES that needs setting (and you don't include 'All') 
after trawling through pkgtools.conf. Unfortunately it's not documented 
in the portupgrade manpage.

Anyway, I've got it all working now - thanks for the push in the right 
direction, and thanks Phil too for the input.

Regards,

Mark

> or his favorite mirror, as all one line. and then run portupgrade -PPa. It 
> defaults to the 4.9 release packages and they never change. I have only used 
> PACKAGESITE once and that was to update KDE. The sites were so busy that my 
> computer would build it almost as fast as I could download it.
>