On Mon, Jun 07, 2004 at 05:13:14PM +0800, Stephen Liu wrote: > After running > > # cvsup -g /usr/local/etc/cvsup/ports-supfile > # cvsup -g /usr/local/etc/cvsup/stable-supfile > before running > # portupgrade -aRr > > whether I need to run > > # pkgdb -F
You don't generally need to run this every time -- it does no harm if you do though. portupgrade(1) and friends will generally run this automatically if needed. If the dependencies get a bit mixed up, you will be told that you need to run 'pkgdb -Fu'. > # portsdb -Uu This, or an equivalent command, is necessary. Basically what it does is build the INDEX or INDEX-5 file. The command: # cd /usr/ports # make index does basically the same thing. Takes a while -- perhaps 10 -- 20 minutes on a typical machine. Alternatively you can download a freshly built copy from one of: http://www.freebsd.org/ports/INDEX http://www.freebsd.org/ports/INDEX-5 Those are about 5MiB apiece and they don't contain the effects of any local settings from your /etc/make.conf. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK
pgpLleE5S9tfv.pgp
Description: PGP signature