From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 14:12:02 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B46016A418 for ; Fri, 19 Oct 2007 14:12:02 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 100BE13C45D for ; Fri, 19 Oct 2007 14:12:01 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9JEBu0F026590; Fri, 19 Oct 2007 08:11:56 -0600 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9JEBu33014935; Fri, 19 Oct 2007 08:11:56 -0600 Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 705C11F8003; Fri, 19 Oct 2007 08:11:52 -0600 (MDT) From: James To: RW In-Reply-To: <20071018201141.49b2493a@gumby.homeunix.com.> References: <1192134379.33933.9.camel@secretariat.lanl.gov> <200710122313.59809.fbsd.questions@rachie.is-a-geek.net> <20071013011349.66164ced@gumby.homeunix.com.> <200710131705.11020.fbsd.questions@rachie.is-a-geek.net> <20071013221326.78ede247@gumby.homeunix.com.> <1192733493.64553.67.camel@secretariat.lanl.gov> <20071018201141.49b2493a@gumby.homeunix.com.> Organization: Los Alamos National Laboratories Date: Fri, 19 Oct 2007 08:12:22 -0600 Message-Id: <1192803142.73574.9.camel@secretariat.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: I performed an rm -r on /var/lib/pkg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 14:12:02 -0000 On Thu, 2007-10-18 at 20:11 +0100, RW wrote: > On Thu, 18 Oct 2007 12:51:33 -0600 > James wrote: > > > > It depends what state the ports were in at the time of the > > > accident. If you haven't run a leaf-cutting program recently you > > > may have old dependencies and tools that have become leaves - they > > > may take years to show-up. > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > > I just discovered pkg_which. > > > > I'm thinking I can use this to solve my (still haven't worked on) > > problem. Any ideas why this might be a bad idea? I essentially feed > > it a list from /usr/ports/distfiles and move on. > > > Do you have the database file? The default location is in the directory > you deleted. Yes. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Feeding pkgdb/pkg_which a port creates a directory for that port in /var/db/pkg. It then returned a question mark, which kind of sucked, silence being golden in unix, but I had an entry for openmpi appear in /var/db/pkg Is this really just meaningless grasping at straws? It looked like this in conjunction with pkgdb -L would work. James