On Thu, Jul 24, 2014 at 2:34 PM, Christian Weisgerber <na...@mips.inka.de>
wrote:

> On 2014-07-24, Kevin Oberman <rkober...@gmail.com> wrote:
>
> > If 'pkg version' only took a few seconds for you, I suspect  you had very
> > few ports installed. It has always taken minutes for me.
>
> $ pkg info|wc -l
>      432
>
> > Is there a reason you want to avoid using the index? It's worked just
> fine
> > for me for several months on systems with well over 1000 ports installed.
>
> It isn't in sync with my ports tree


Which begs the question, why is it out of sync? If you update your ports
tree, all you need to do is:
make -C /usr/ports fetchindex (takes a few seconds)

Or, if you tie your ports tree to  the version of FreeBSD and never update,
you just need to build the index once with:
make -C /usr/ports index (takes quite a few minutes)
and leave it there until you update to a new version of FreeBSD.

There are a couple of other "or"s, but I'll just say that you are probably
working too hard if you don't use an index.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to