Date: Thu, 24 Jul 2014 15:58:34 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Christian Weisgerber <naddy@mips.inka.de> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Lots of installed ports show "succeeds index" Message-ID: <CAN6yY1tai9Z=WeXm3PduOWmQ461rfiwkptHsKCufD0w1Y8hbrg@mail.gmail.com> In-Reply-To: <slrnlt2uvn.p3q.naddy@lorvorc.mips.inka.de> References: <86vbqnhp8t.wl-hskuhra@eumx.net> <86tx67hp0x.wl-hskuhra@eumx.net> <53D00A72.9090306@infracaninophile.co.uk> <slrnlt1s9b.bhl.naddy@lorvorc.mips.inka.de> <CAN6yY1tVFpH4d_pQSQOs0rtBkZjZMSKcc=Rbxaqz%2BUSJobyvMw@mail.gmail.com> <slrnlt2uvn.p3q.naddy@lorvorc.mips.inka.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 24, 2014 at 2:34 PM, Christian Weisgerber <naddy@mips.inka.de> wrote: > On 2014-07-24, Kevin Oberman <rkoberman@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: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tai9Z=WeXm3PduOWmQ461rfiwkptHsKCufD0w1Y8hbrg>