make index and such

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Mon Sep 1 04:15:16 PDT 2003


On Mon, 2003-09-01 at 11:06, Christoph P. Kukulies wrote:
> I'm now wondering why doing a portupgrade on a single package
> says it finds over 5000 packages:
> 
> portupgrade -rF qt\*
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 5759 port entries found /usr/ports/INDEX-5:1:Port info line must consist of 10 fields.

As the last line above says, it's updating the binary ports index used
by portupgrade and friends based on the text-format ports index.  See
"man portsdb" for more information (and btw, "portsdb -uU" is a nice
replacement for "make index" and does the portsdb rebuild step at the
same time).

It's generally a good idea to do a "portsdb -uU; pkgdb -F" after a cvsup
of ports.

-- 
brandon s. allbery    [linux,solaris,freebsd,perl]     allbery at kf8nh.com
system administrator      [WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon univ.         KF8NH
URGENT!  E-xpedient nuked APK subdomains; kf8nh.apk.net is DEAD.  Sorry.



More information about the freebsd-ports mailing list