Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2003 19:29:34 -0400
From:      Adam McLaurin <adam.mclaurin@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why build INDEX ?
Message-ID:  <20031018192934.2c3ed3fa.adam.mclaurin@gmx.net>
In-Reply-To: <44smlqqwil.fsf@be-well.ilk.org>
References:  <20031017183307.401450af.adam.mclaurin@gmx.net> <44smlqqwil.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Oct 2003 13:35:30 -0400
Lowell Gilbert <freebsd-questions-local@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031018192934.2c3ed3fa.adam.mclaurin>