From owner-freebsd-questions@FreeBSD.ORG Wed Mar 28 00:38:29 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 9B19816A400 for ; Wed, 28 Mar 2007 00:38:29 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 7B7C813C44C for ; Wed, 28 Mar 2007 00:38:29 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn07.u.washington.edu (hymn07.u.washington.edu [140.142.8.53]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2S0cSJ4014025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Mar 2007 17:38:28 -0700 Received: from localhost (localhost [127.0.0.1]) by hymn07.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l2S0cSfP024382; Tue, 27 Mar 2007 17:38:28 -0700 X-Auth-Received: from [192.55.52.4] by hymn07.u.washington.edu via HTTP; Tue, 27 Mar 2007 17:38:28 PDT Date: Tue, 27 Mar 2007 17:38:28 -0700 (PDT) From: youshi10@u.washington.edu To: freebsd-questions@freebsd.org In-Reply-To: <20070328002547.GN11147@tigger.digitaltorque.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.3.27.154434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, NO_REAL_NAME 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: "Michael P. Soulier" 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: Wed, 28 Mar 2007 00:38:29 -0000 On Tue, 27 Mar 2007, 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? > > How are dependencies lost anyway? Beyond reading the source, is there a > document that tells me how pkgdb works? > > Thanks, > Mike I can't say I've used that option lately, but I'm pretty sure that what you're experiencing occurs because stuff a) gets moved or b) gets removed. Versioned port like lib/libnet10 for instance gets replaced by lib/libnet11 in the future for instance. You shouldn't really have to do something like this more than once a month though I would think unless you're a heavy ports user, because ports don't get moved / removed frequently (except as of late where there seems to be a bit of a ports revamp going on). So, maybe once every two weeks for now? -Garrett