From owner-freebsd-ports@FreeBSD.ORG Sun May 1 08:46:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AFE416A4CE for ; Sun, 1 May 2005 08:46:48 +0000 (GMT) Received: from mail.aaq.bolignet.dk (cpe.atm2-0-1021060.0x50a5f3f2.boanxx12.customer.tele.dk [80.165.243.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B4C243D2D for ; Sun, 1 May 2005 08:46:47 +0000 (GMT) (envelope-from freebsd.nospam@mekanix.dk) Received: from desktop.home (unknown [10.10.3.10]) by mail.aaq.bolignet.dk (Postfix) with ESMTP id 0046C205FA0; Sun, 1 May 2005 10:27:03 +0200 (CEST) From: Bjarne Wichmann Petersen To: freebsd-ports@freebsd.org Date: Sun, 1 May 2005 10:46:55 +0200 User-Agent: KMail/1.8 References: <200504271653.35873.freebsd.nospam@mekanix.dk> <20050427200916.GA38219@xor.obsecurity.org> In-Reply-To: <20050427200916.GA38219@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505011046.56630.freebsd.nospam@mekanix.dk> cc: Kris Kennaway Subject: Re: Upgrading packages using binaries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 08:46:48 -0000 On Wednesday 27 April 2005 22:09, Kris Kennaway wrote: > > The problem as far as I can tell is, that the portstree and > > ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-5-stable/All/ aren't in > > sync. > They're never perfectly in sync and never can be, because computers > aren't infinitely fast. I'm not expecting them to be. > > My question: is there any way to upgrade packages to the latest available > > version on the mirrors > Yes, you're using it. In theory, yes. But in practice, no. I've just spend an entire day upgrading my ports/packages, constantly keeping my eye on portupgrade so I could fix the many stumblingblocks that came during the process. Portupgrades "fallback" to download from ../Latest/. Several times the latest port didn't meet the version requirement, that portupgrade demanded, so portupgrade bails out. I had to build several ports before portupgrade would continue with the binary upgrade. Less than optimal, and a waste of bandwith, since portupgrade repeatedly downloaded "outdated" packages from the mirrors. > > and/or a way to cvsup the portstree to the version the > > binary packages have been built from? > No, sorry. Usually the -stable packages don't get so far behind, > except around release time when all the build activity goes there. I > just finished a build and updated them though, so you should be able > to retry once your favourite mirror has updated. Would it be possible to check the version of the available package in ../Latest/ BEFORE downloading? Because then one could compare it with the local installed version and download and install if it were a newer version? Bjarne