From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:05:48 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 55EB216A4CE for ; Fri, 19 Mar 2004 17:05:48 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E5643D31 for ; Fri, 19 Mar 2004 17:05:48 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (c9fd18f9dd638a842fdd14a3f6598af1@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i2K14fUX029168; Fri, 19 Mar 2004 17:04:41 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2044952145; Fri, 19 Mar 2004 17:05:44 -0800 (PST) Date: Fri, 19 Mar 2004 17:05:44 -0800 From: Kris Kennaway To: Dan MacMillan Message-ID: <20040320010543.GA19241@xor.obsecurity.org> References: <20040320004618.GA18880@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway 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 01:05:48 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2004 at 05:56:08PM -0700, Dan MacMillan wrote: > > 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. > > >=20 > 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 t= he > /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? Packages register themselves in /var/db/pkg when installed. Read the pkg_create and related manpages for more details. Kris --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAW5jnWry0BWjoQKURAu4LAKC+jkW1YxBacnSjunJF75J2IsyMSACgujkq fIxzYjenRpdX+eLtKwgWuYg= =pY7b -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--