From owner-freebsd-questions@FreeBSD.ORG Tue Sep 18 12:31:19 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 1E06616A469 for ; Tue, 18 Sep 2007 12:31:19 +0000 (UTC) (envelope-from nikolaj.thygesen@diamondbox.dk) Received: from webmail1.b-one.net (webmail1.b-one.net [195.47.247.29]) by mx1.freebsd.org (Postfix) with ESMTP id DA62813C4F2 for ; Tue, 18 Sep 2007 12:31:18 +0000 (UTC) (envelope-from nikolaj.thygesen@diamondbox.dk) Received: by webmail1.b-one.net (Postfix, from userid 33) id 5C2001802A13; Tue, 18 Sep 2007 14:01:27 +0200 (CEST) Received: from 80.80.2.75 (SquirrelMail authenticated user nikolaj.thygesen@diamondbox.dk) by webmail1.one.com with HTTP; Tue, 18 Sep 2007 14:01:27 +0200 (CEST) Message-ID: <8980.80.80.2.75.1190116887.squirrel@webmail1.one.com> Date: Tue, 18 Sep 2007 14:01:27 +0200 (CEST) From: nikolaj.thygesen@diamondbox.dk To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Deleted /var/db/pkg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 12:31:19 -0000 Hi list, Suppose you deleted /var/db/pkg by accident :( What would you do to get it back?? I started out trying to recreate the xorg port (make install), but being a meta port and only checking for the existance of certain files it doesn't rebuild much. Doing my experiments I have even managed to mess up my existing previously working xorg installation. I did a "make install" of one port which in combination with a number of "pkgdb -F" cmd lines has rebuilt ~150 "stale dependencies" so far, but I'm not sure how to go about stuff like gnome2, also I have the feeling that cvsup'ing right now would be a bad idea - right?? I would kill for an undelete cmd :) br - Nikolaj Thygesen