From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 16:56:11 2004 Return-Path: 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 34E5B16A4CE for ; Fri, 19 Mar 2004 16:56:11 -0800 (PST) Received: from pd3mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A13643D1F for ; Fri, 19 Mar 2004 16:56:11 -0800 (PST) (envelope-from flowers@users.sourceforge.net) Received: from pd4mr4so.prod.shaw.ca (pd4mr4so-qfe3.prod.shaw.ca [10.0.141.215]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HUU00CE4NXMKF@l-daemon> for freebsd-questions@freebsd.org; Fri, 19 Mar 2004 17:56:10 -0700 (MST) Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HUU00C3JNXM1L@l-daemon> for freebsd-questions@freebsd.org; Fri, 19 Mar 2004 17:56:10 -0700 (MST) Received: from sirius (h68-144-47-89.cg.shawcable.net [68.144.47.89]) 2003))freebsd-questions@freebsd.org; Fri, 19 Mar 2004 17:56:10 -0700 (MST) Date: Fri, 19 Mar 2004 17:56:08 -0700 From: Dan MacMillan In-reply-to: <20040320004618.GA18880@xor.obsecurity.org> To: Kris Kennaway Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal cc: freebsd-questions@freebsd.org Subject: RE: Impact of running pkgdb -fu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 00:56:11 -0000 > Kris Kennaway Sent: March 19, 2004 17:46 > > On Fri, Mar 19, 2004 at 05:34:38PM -0700, Dan MacMillan wrote: > > Hi, > > > > I have a question about the effect of running "pkgdb -fu", > > besides making me laugh because of its whimsically profane > > command-line options. > > > > Suppose I have been running "pkgdb -F" as suggested by > > portupgrade, and I accidentally delete a stale dependency > > that should have been handled in another way. Will > > rebuilding the package database with "pkgdb -fu" restore > > this dependency to its pristine, correct state? > > No, the dependency was removed from the installed package. You need > to explicitly restore it, e.g. by reinstalling it. > Thanks for your reply ... but now I'm a little confused. The dependencies are stored in the packages themselves? Would that be in the tarball in the /usr/ports/distfiles directory? Where can I go to learn more about this, specifically the anatomy of a binary package and the structure of the package database? -Dan