From owner-freebsd-ports@FreeBSD.ORG Mon Jul 13 12:59:09 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E33510656A9 for ; Mon, 13 Jul 2009 12:59:09 +0000 (UTC) (envelope-from fedor.dikarev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id F08038FC1A for ; Mon, 13 Jul 2009 12:59:08 +0000 (UTC) (envelope-from fedor.dikarev@gmail.com) Received: by fg-out-1718.google.com with SMTP id 13so602227fge.12 for ; Mon, 13 Jul 2009 05:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4UWG5NBZIv1ayLD+G3s4UgaadWlmpZKSH7YcJtpEGe4=; b=w0QBEqcLpSkwRVFePne+8tMPKvk+55i7SPnpd09J4xmqr6ODPJZYy7uZ+nJGXylJwt Qbx5LVdSDKzpsAsREzwdO7GXLI91cFd3qkNSuGzKTiJyIXI1R8BGz0Z442WvRpK4Q5VM uFLRHzQSCXwjZQZl5QgvyOMfa3xGO3PEjd4mY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WIrjNNQcKZqv1gehi9w2IoWSBMDzOgBPbYmElBbdHwkEHXWO5wbA74Hbn0LYGdgJSP 5sNNqaXHJLFzY76AaAmSdSVyDtthjbOgKJf1awPtWl5aPABVwVnq9jluuCp6FXbdsqed kBtjItylEtvCESzgiZT/B1qgQ51PmgYRNrO4M= MIME-Version: 1.0 Received: by 10.86.92.13 with SMTP id p13mr3154847fgb.43.1247489948109; Mon, 13 Jul 2009 05:59:08 -0700 (PDT) In-Reply-To: <4A5B2993.1030403@infracaninophile.co.uk> References: <4A5B09A4.5050502@therek.net> <4A5B2993.1030403@infracaninophile.co.uk> Date: Mon, 13 Jul 2009 16:59:08 +0400 Message-ID: From: Fedor Dikarev To: Matthew Seaman Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 13 Jul 2009 13:00:41 +0000 Cc: ports@freebsd.org, Cezary Morga Subject: Re: Bad INDEX-7 file ? 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: Mon, 13 Jul 2009 12:59:09 -0000 Thanks for your advices. I've already rebuilt INDEX using portsdb -U, but I'm sure that it'll be better for all freebsd-users if this mistake will be fixed. 13 =C9=C0=CC=D1 2009 =C7. 16:33 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 Matthe= w Seaman (m.seaman@infracaninophile.co.uk) =CE=C1=D0=C9=D3=C1=CC: > Fedor Dikarev wrote: >> >> By this command I've just explained that this port has version 1.3.8 >> but in INDEX-7 vesion differ -- it's 1.3.7. >> So INDEX file is built on old ports tree or there was some bug during >> building process. > > It's just an old INDEX-7 file -- as I recall, they are meant to be update= d > something like hourly, but on occasion there will be a problem and the IN= DEX > files available for download may not be updated for an indefinite period, > until > the INDEX can be built cleanly again. > > Now, there are several things you can do about this: > > =9A* Ignore it. =9AHaving a 100% accurate INDEX file is nice, but not an > =9A =9Aabsolute necessity. =9AMost ports management software will be forg= iving > =9A =9Aof the odd irregularity. =9AEven if it means package 'foo' doesn't= get > =9A =9Aupdated today when it could have been, it would almost certainly g= et > =9A =9Aupdated tomorrow or next week. =9AIt all works itself out in time. > > =9A* Use ports management software that doesn't rely on the presence of t= he > =9A =9AINDEX at all. viz: portmaster(1). =9AAs I said, most ports managem= ent > =9A =9Asoftware is fairly forgiving of irregularities in the INDEX, but t= his > =9Aprogram goes beyond that entirely and compares the database of install= ed > =9A =9Aports under /var/db/pkg/ directly with what is in the ports tree. > > =9A* Build your own. =9AYou can just type 'make index' in /usr/ports. =9A= Then go > =9A =9Aaway and have a nice cup of tea. =9AThen have another one. =9AAnd = some > biscuits. > =9A =9AIt might have finished building by now... =9ABuilding your own IND= EX > usually > =9A =9Aworks pretty well, but it does take quite a while every time you h= ave to > =9A =9Ado it. It does get you an INDEX that reflects local settings you m= ade in > =9A =9A/etc/make.conf or in OPTIONS dialogues, which is nice. =9AIf I mig= ht be > =9A =9Apermitted to tootle my own trumpet a bit, there is > =9Aports-mgmt/p5-FreeBSD-Portindex that I wrote, =9Awhich can cut down th= e time > =9A =9Ait takes to routinely build your own index by only reprocessing th= e bits > =9A =9Aof the ports tree that have had updates since the previous time yo= u built > an > =9A =9AINDEX. > =9A =9A =9A =9A =9A =9ACheers, > > =9A =9A =9A =9AMatthew > > -- > Dr Matthew J Seaman MA, D.Phil. =9A =9A =9A =9A =9A =9A =9A =9A =9A 7 Pri= ory Courtyard > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A =9A =9A =9A =9A =9A Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =9A =9A Ramsgate > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A =9A =9A =9A =9A =9A Kent, CT11 9PW > > --=20 =E6=C5=C4=CF=D2 =E4=C9=CB=C1=D2=C5=D7