Date: Mon, 13 Jul 2009 16:59:08 +0400 From: Fedor Dikarev <fedor.dikarev@gmail.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: ports@freebsd.org, Cezary Morga <cm@therek.net> Subject: Re: Bad INDEX-7 file ? Message-ID: <aa8571d30907130559w50315a46rc987c27544c0d12d@mail.gmail.com> In-Reply-To: <4A5B2993.1030403@infracaninophile.co.uk> References: <aa8571d30907130204r7d9bc018t87f6c341f1252805@mail.gmail.com> <4A5B09A4.5050502@therek.net> <aa8571d30907130327gea45b21k357f90607b42ad94@mail.gmail.com> <4A5B2993.1030403@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa8571d30907130559w50315a46rc987c27544c0d12d>