From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 20:25:53 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 5F40916A4CE; Wed, 1 Sep 2004 20:25:53 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E328C43D1F; Wed, 1 Sep 2004 20:25:52 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i81KPUkG026665; Wed, 1 Sep 2004 13:25:32 -0700 From: kstewart To: freebsd-questions@freebsd.org Date: Wed, 1 Sep 2004 13:25:49 -0700 User-Agent: KMail/1.7 References: <413625D0.1080004@freebsd.org> In-Reply-To: <413625D0.1080004@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409011325.49247.kstewart@owt.com> cc: Mark Ovens 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 20:25:53 -0000 On Wednesday 01 September 2004 12:41 pm, Mark Ovens wrote: > 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 ;-) Well, png is up to png-1.2.5_8 and if you did a recent cvsup and recreated your INDEXs, that is what you should be seeing. Staying behind is a good way to end up with a security black hole :). A cvsup of ports-all and a portsdb -uU should be a good way to keep your system current. Kent > > Thanks. > > Regards, > > Mark > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/