Updating /usr/ports

LuMiWa lumiwa at dismail.de
Sat May 29 21:23:24 UTC 2021


On Sat, 29 May 2021 09:41:11 -0700
Kevin Oberman <rkoberman at gmail.com> wrote:

> On Fri, May 28, 2021 at 8:01 AM <Lena at lena.kiev.ua> wrote:
> 
> > > If you are trying to replace portsnap, I think the answer is
> > > net/gitup. This only requires a single command,  "gitup ports",
> > > and you get your
> > index
> > > updated along with updating all ports.
> >
> > No, `gitup ports` doesn't update index. It deletes INDEX-12 .
> >
> Does "pkg version" use some other way of doing things than INDEX?  I
> checked a system that I recently upgraded to 13.0 and it lacks
> INDEX-13 (or any INDEX-), but "pkg version -vL=" works fine. It is
> slower, though. It was almost instantaneous and now takes about 45
> seconds. Not sure whether this is dependent on the number of
> installed ports. That system has only about 325 ports installed. My
> development system has around a thousand, but I use git  and
> fetchindex there, so I can't easily compare. --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

/var/db/gitup/ports is updated every time as you use gitup ports. I
think it is an index. because when you run in /usr/ports make index are
those in /var/db/gitup updated.

-- 

“Thinking is difficult, that’s why most people judge.”

Carl Jung


More information about the freebsd-questions mailing list