Date: Fri, 19 Mar 2004 17:05:44 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Dan MacMillan <flowers@users.sourceforge.net> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Impact of running pkgdb -fu Message-ID: <20040320010543.GA19241@xor.obsecurity.org> In-Reply-To: <FGEIJLCPFDNMGDOKNBABAECKCIAA.flowers@users.sourceforge.net> References: <20040320004618.GA18880@xor.obsecurity.org> <FGEIJLCPFDNMGDOKNBABAECKCIAA.flowers@users.sourceforge.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040320010543.GA19241>