Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 21:24:42 -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:  <CAN6yY1vCDqDOAYPjQX_eW7hpJb_kRQc2Te8Hx5fHGDQzoNK2ng@mail.gmail.com>
In-Reply-To: <slrnlt4rnd.1fpr.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> <CAN6yY1tai9Z=WeXm3PduOWmQ461rfiwkptHsKCufD0w1Y8hbrg@mail.gmail.com> <slrnlt4rnd.1fpr.naddy@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 25, 2014 at 7:51 AM, Christian Weisgerber <naddy@mips.inka.de>
wrote:

> On 2014-07-24, Kevin Oberman <rkoberman@gmail.com> wrote:
>
> >> > 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)
>
> Which fetches an INDEX file that is regularly generated on some
> FreeBSD server, but is not in sync with the exact revision of the
> ports tree I just updated to.
>
> --
> Christian "naddy" Weisgerber                          naddy@mips.inka.de
>

Yes, but the INDEX is guaranteed to  older than your tre, so you never get
the ports installed as being newer than those in the ports tree.

I always issue a fetchindex immediately after an 'svn up /usr/ports' so
they are very close. It's worked for me for many years, going back to CVS
days, of course.
--
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?CAN6yY1vCDqDOAYPjQX_eW7hpJb_kRQc2Te8Hx5fHGDQzoNK2ng>