Date: Thu, 22 Apr 2010 08:07:39 +0200 From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: freebsd-hackers@freebsd.org, "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Subject: Re: regenerating /var/db/pkg Message-ID: <u2gce5f79aa1004212307nc2dfe17av5a6b51cda6bf0f3f@mail.gmail.com> In-Reply-To: <4BCFE209.20501@FreeBSD.org> References: <4BCE5ECC.6070202@gmail.com> <4BCFE209.20501@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I once coded a shellscript to do that, restore from corrupted pkgdb I have it at work (if you can wait until next monday) the easyest way I found was to pkg_add -Ff every package missing in pkg_info, and extract missing files from packages still there but you would need a package list to do that Samuel Mart=EDn Moro {EPITECH.} tek4 CamTrace S.A.S On Thu, Apr 22, 2010 at 7:43 AM, Doug Barton <dougb@freebsd.org> wrote: > a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2gce5f79aa1004212307nc2dfe17av5a6b51cda6bf0f3f>