From owner-freebsd-ruby@FreeBSD.ORG Tue Sep 22 20:02:43 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 700C71065695 for ; Tue, 22 Sep 2009 20:02:43 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 212AF8FC1A for ; Tue, 22 Sep 2009 20:02:43 +0000 (UTC) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 5B5828FC45; Wed, 23 Sep 2009 00:02:41 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id F103939C4F; Wed, 23 Sep 2009 00:02:41 +0400 (MSD) Date: Wed, 23 Sep 2009 00:02:36 +0400 From: Stanislav Sedov To: Patrick Donohoe Message-Id: <20090923000236.5c95771d.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__23_Sep_2009_00_02_36_+0400_gESdDqzsqtbpqxF0" Cc: ruby@freebsd.org Subject: Re: FreeBSD Port: portupgrade-2.4.6_3,2 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 20:02:43 -0000 --Signature=_Wed__23_Sep_2009_00_02_36_+0400_gESdDqzsqtbpqxF0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 22 Sep 2009 15:04:52 -0400 Patrick Donohoe mentioned: > Hello, I had a question that might be a bit of a shot in the dark: >=20 > If the /var/db/pkg dir was deleted, is there any way to rebuild the > directory and th pkgdb.db file? >=20 Unfortunately I don't think it is even possible. Did you lost both the /var/db/pkg and pkg.db file? If the last one is still alive it should be possible to come up with some script that will partially restore /vat/db/pkg/ contents, otherwise it is impossible to do. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Wed__23_Sep_2009_00_02_36_+0400_gESdDqzsqtbpqxF0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKuS1hAAoJEKN82nOYvCd0O9oP/AhBZV28BUhtedA+kdZDWs42 dNof1euaJCcL+02zVDfi9sZQx+5CIbSWtCbQgIx0R9EM0FbmsmJxchooRy1IERcB 50lEjPtK3Ok3eocbHt+pG81Ieg3uIeRCQkjlYk/zV9+ir6X5M1Bcmg9Ml5tra06G OG2M5m7fSQU2QEFib55AxMCKIhwmsqOXV+e0Grnqe5AjQPnA7ieYlZHMAvKw3hY/ GkHY8LPfTuwE9PQiLxm6SZERy864xx7ixutj05AHzt6IRWpH44EQ6rii5QmaP/tQ txSk3curBl6JDKp97U/PwnOjOUjuvyDEsXmZTZb6Eaxvl8R1RkOAAuNuipcU5jNg mqaFrH85VQNXsm1PZxmbpJ4st4t+cDuOFvma9Xx3P6RHO26PiLiSkDVdDBlp9odl KW5ScaMKKXNCJQ/HvcaUPflpDglWkaa74Z5lr9n2M3HhcDZiTX4BkZNbsAEr3Dua t/YFvsaEFcJkLqLquVcyz6cF6UjZ2D83hVhXtPe0IYozfGBOXNE3LQryJGszQuqt vhDxv2zR+xjQJnbIT6EJSAbY8CQ3GXzC+YrJ0y1tTj4cpniTBJUm1XWhrGVe+hkP lwWesJfTX2hvKPuAc17xuylq4p8RLBwh7QlMZfaJdqOEE4e6Leiyq1E115J8muAd Gqhg+REXMaxH3zvU+Oo7 =Gwlp -----END PGP SIGNATURE----- --Signature=_Wed__23_Sep_2009_00_02_36_+0400_gESdDqzsqtbpqxF0--