From owner-freebsd-ports@FreeBSD.ORG Sat Aug 15 19:43:24 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A21571065766 for ; Sat, 15 Aug 2009 19:43:22 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id F19EF8FC4D for ; Sat, 15 Aug 2009 19:43:21 +0000 (UTC) Received: (qmail 29718 invoked by uid 399); 15 Aug 2009 19:43:19 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Aug 2009 19:43:19 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A870FD1.5070605@FreeBSD.org> Date: Sat, 15 Aug 2009 12:43:13 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090729) MIME-Version: 1.0 To: Thomas Backman References: <4A86FF1E.1030705@quip.cz> <6B5B7698-CCD8-48FF-A5FB-0349D4CC1143@exscape.org> In-Reply-To: <6B5B7698-CCD8-48FF-A5FB-0349D4CC1143@exscape.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-ports@freebsd.org Subject: Re: portversion and pkg_version have different opinions on current versions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2009 19:43:24 -0000 Thomas Backman wrote: > Thanks, guys! > However, a new issue appeared... Kind of. I know I read something about > portsnap and INDEX on the -current list recently, so I'm guessing this > is related? Maybe not, though (see later in the mail). > > [root@chaos /usr/ports/ports-mgmt]# portsnap -I fetch update >/dev/null > [root@chaos /usr/ports/ports-mgmt]# pkg_version -vL= > [root@chaos /usr/ports/ports-mgmt]# pkg_version -vIL= > curl-7.19.5_1 < needs updating (index has 7.19.6) > dnsmasq-2.49_1 < needs updating (index has 2.49_2) > ezm3-1.1_2 < needs updating (index has 1.2_1) Can you check the files in your ports tree to see if they have the older versions or the newer? You can either read the Makefiles or do this: cd /usr/ports/ftp/curl make -V PKGNAME I suspect that somehow the INDEX file and your ports tree are out of date, although my understanding was that this should not happen with portsnap. > libtool-1.5.26 ! Comparison failed Read /usr/ports/UPDATING, you need to fix this. > [root@chaos /usr/ports/ports-mgmt]# ls -l /usr/ports/INDEX-* > -rw-r--r-- 1 root wheel 17370624 Jul 31 19:45 /usr/ports/INDEX-5 > -rw-r--r-- 1 root wheel 19813792 Aug 15 20:42 /usr/ports/INDEX-6 > -rw-r--r-- 1 root wheel 19808537 Aug 15 20:42 /usr/ports/INDEX-7 > -rw-r--r-- 1 root wheel 34316288 May 8 10:35 /usr/ports/INDEX-7.db > -rw-r--r-- 1 root wheel 19816190 Aug 15 20:42 /usr/ports/INDEX-8 > -rw-r--r-- 1 root wheel 1291821 May 30 12:06 /usr/ports/INDEX-8.bz2 > -rw-r--r-- 1 root wheel 34869248 Aug 14 19:30 /usr/ports/INDEX-8.db I would 'rm /usr/ports/INDEX*' before doing your next portsnap update just to be sure. hth, Doug -- This .signature sanitized for your protection