From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 19:38:41 2004 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 0F20816A4CE for ; Wed, 1 Sep 2004 19:38:41 +0000 (GMT) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1CA043D2F for ; Wed, 1 Sep 2004 19:38:40 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from movens.plus.com ([80.229.231.20] helo=[127.0.0.1]) by ptb-relay02.plus.net with esmtp (Exim) id 1C2awK-000JLp-5T for freebsd-questions@freebsd.org; Wed, 01 Sep 2004 19:38:40 +0000 Message-ID: <413625D0.1080004@freebsd.org> Date: Wed, 01 Sep 2004 20:41:04 +0100 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (Windows/20040901) X-Accept-Language: en-gb, en-us MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Package version problem with portupgrade(1) 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: Wed, 01 Sep 2004 19:38:41 -0000 FreeBSD postie 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Sun Mar 21 19:46:39 GMT 2004 root@postie:/usr/obj/usr/src/sys/POSTIE i386 I'm trying to upgrade cups-base on this system, using packages (as the machine doesn't really have enough grunt for building ports), with portupgrade, but it is trying to get the wrong version: postie# portupgrade -RPPv cups-base ---> Session started at: Wed, 01 Sep 2004 17:27:46 +0100 ---> Checking the availability of the latest package of 'graphics/png' ---> Fetching the package(s) for 'png-1.2.5_8' (graphics/png) ---> Fetching png-1.2.5_8 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/png-1.2.5_8.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-1.2.5_8.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-1.2.5_8.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.9-release/All/png-1.2.5_8.tgz The actual file in ports/i386/packages-4.9-release/All/ is png-1.2.5_2 I'm guessing that this is caused because my ports tree was cvsup'd and so is more up to date than the packages built for 4.9-RELEASE. Thing is, how to deal with it? I could set $PKG_SITES in pkgtools.conf to use packages-4.9-release/Latest but the files there have no version number at all, e.g. png.tgz What's the best solution here - before I go and screw my system ;-) Thanks. Regards, Mark