From owner-freebsd-questions Wed Nov 27 11:42:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D9437B401 for ; Wed, 27 Nov 2002 11:42:08 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F9443EBE for ; Wed, 27 Nov 2002 11:42:08 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id LAA23563; Wed, 27 Nov 2002 11:42:01 -0800 Message-ID: <3DE52009.9020705@owt.com> Date: Wed, 27 Nov 2002 11:42:01 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Dick Hoogendijk Cc: freebsd-questions Subject: Re: portupgrade References: <20021127164759.GA6903@pooh.nagual.st> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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