make index and such

Brandon S. Allbery KF8NH allbery at
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
system administrator      [WAY too many hats]        allbery at
electrical and computer engineering, carnegie mellon univ.         KF8NH
URGENT!  E-xpedient nuked APK subdomains; is DEAD.  Sorry.

More information about the freebsd-ports mailing list