From owner-freebsd-questions@FreeBSD.ORG Thu Oct 11 20:25:52 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 E814D16A419 for ; Thu, 11 Oct 2007 20:25:52 +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 AD9CB13C47E for ; Thu, 11 Oct 2007 20:25:52 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9BKPnAO031045 for ; Thu, 11 Oct 2007 14:25:49 -0600 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l9BKPlsE014704 for ; Thu, 11 Oct 2007 14:25:47 -0600 Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 4BE321F8007 for ; Thu, 11 Oct 2007 14:25:41 -0600 (MDT) From: James To: freebsd-questions Organization: Los Alamos National Laboratories Date: Thu, 11 Oct 2007 14:26:19 -0600 Message-Id: <1192134379.33933.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 Subject: 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: Thu, 11 Oct 2007 20:25:53 -0000 Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things further, does anyone have any suggestions as to how to recover from this? I have other FreeBSD boxes available to me, none with the same pkg list, though. I'll be reading man pkgdb in the meantime.. James