From owner-freebsd-questions@FreeBSD.ORG Thu Mar 29 03:01:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D3B2716A400 for ; Thu, 29 Mar 2007 03:01:22 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 64DDF13C46C for ; Thu, 29 Mar 2007 03:01:22 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so50715muf for ; Wed, 28 Mar 2007 20:01:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iYmc1eok/Gn06uxp4p/UAQuxaObC1y9dXewAkUWYvk0uvCW0wNNsdCFeLD8iMiLWNc+fXSTp/1UZG+z5Atlv73zIxyx5Lwn24Dh7nkRsJO1/t9+RBmbL+8CHMOtIjbplM4CSWp4hSvmH2ZYSa4qXm/T3+3zpu5qZSkb5GfgazfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZH5cgdk6ztttZOIxb6JAarmubNzSpVOSRYyJYjE20fZgSG9X1kwIBY7sFGHhyu/+7YST/pQD9U7WhbFtb7V5TqJATuOpoXkr/9J1mh/Ixs0/bEk13ChFf86IqbvrsIVKBvM0Rn2nMwWGaH6dEKdWhB1C2xx4G59HqCyX4Tijv5A= Received: by 10.82.178.11 with SMTP id a11mr425688buf.1175137280965; Wed, 28 Mar 2007 20:01:20 -0700 (PDT) Received: by 10.82.175.6 with HTTP; Wed, 28 Mar 2007 20:01:20 -0700 (PDT) Message-ID: Date: Wed, 28 Mar 2007 22:01:20 -0500 From: "illoai@gmail.com" To: freebsd-questions@freebsd.org In-Reply-To: <20070328002547.GN11147@tigger.digitaltorque.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070328002547.GN11147@tigger.digitaltorque.ca> Subject: Re: regular portsdb maintanence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 03:01:22 -0000 On 27/03/07, Michael P. Soulier wrote: > Hello, > > I just upgraded portupgrade, and it recommended that I run pkgdb -L to look > for lost dependencies. This raised the question to me of what I should > regularly run in cron jobs to maintain the db. > > Is it wise to put say, pkgdb -L into a weekly cron? Anything else? I am not sure you would want to do that, as if it were to overlap with a normal portupgrade the results may be interesting. The machine's day to day running depends not at all on the pkgdb. I would suggest that if you sense that you need to keep atop these things you run pkgdb -L about as often as you run portupgrade -fr . If you do not have to recursively rebuild (say for leaf packages) pkgdb -L is redundant at best. -- --