From owner-freebsd-stable Sun Feb 17 19:51:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id CA3CB37B41B for ; Sun, 17 Feb 2002 19:51:32 -0800 (PST) Received: from sdn-ar-007dcwashp209.dialsprint.net ([63.178.91.121] helo=moo.holy.cow) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16cepq-00029u-00 for freebsd-stable@FreeBSD.ORG; Sun, 17 Feb 2002 19:51:27 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id E68F050B87; Sun, 17 Feb 2002 22:53:36 -0500 (EST) Date: Sun, 17 Feb 2002 22:53:36 -0500 From: parv To: freebsd-stable@FreeBSD.ORG Subject: Re: pkg_info Ideals Message-ID: <20020218035336.GA30433@moo.holy.cow> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <200202180036.LAA24073@lightning.itga.com.au> <200202180053.QAA10387@eskimo.com> <20020217211528.A54834@databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020217211528.A54834@databits.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20020217211528.A54834@databits.net>, wrote Pete Fritchman thusly... > > Perhaps you could look through /var/db/pkg, and any package that doesn't > have a "+REQUIRED_BY" file would be flagged as a package you need to > install. ...but don't do it blindly if not using portupgrade utilities. w/ freebsd pkg_* functions, "required by" files are not always correctly updated. "pkgdb -F" or "pkg_deinstall" -- from portupgrade port -- generate/correct those "required by" files depending on what is currently installed (in /var/db/pkg) not what's in the ports tree. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message