Why build INDEX ?

Adam McLaurin adam.mclaurin at gmx.net
Sat Oct 18 16:29:42 PDT 2003


On 18 Oct 2003 13:35:30 -0400
Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:

> 'pkg_version -v' and 'make search' are very useful, and depend on an
> up-to-date INDEX file.

'pkg_version -v' does NOT depend on an up-to-date INDEX. 


> This is completely incorrect.  Building INDEX.db is for portversion.
> INDEX has to be updated for pkg_version to see the updated versions of
> the ports skeletons (in other words, if you don't rebuild it,
> 'pkg_version -v won't know that your ports have been updated).

Again, 'pkg_version -v' works just fine without an updated INDEX. I've done it
hundreds of times; it always works.

-- 
Adam


More information about the freebsd-questions mailing list