Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 11:42:01 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        Dick Hoogendijk <dick@nagual.st>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: portupgrade
Message-ID:  <3DE52009.9020705@owt.com>
References:  <20021127164759.GA6903@pooh.nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help


Dick Hoogendijk wrote:
> I've read somewhere that after a cvsup of my /usr/ports is is wise to
> run "portsdb -Uu", maybe even followed by a "pkgdb -F"
> 
> Is this really true? Especially portsdb takes quit some time to run, so
> if it's ok not to run.. ;-))
> 

There isn't any reason to run pkgdb -F but Kris updates the INDEX file 
at an infrequent rate. If he updated it everytime a port changed, some 
computer would spend all of its time generating INDEX.

Your port system support software needs an INDEX with a current set of 
dependancies. You also need INDEX.db if you use portupgrade. I haven't 
run portsdb -U recently; however, in the near past, it produced 
incomplete dependancies and I have my scripts that I use to cvsup 
ports-akk setup to also

cd /usr/ports
make index
portsdb -u

I do this everytime I cvsup. On my fast machine, the make index takes 
11 minutes, which is slower than a portsdb -U.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE52009.9020705>