Date: Thu, 22 Apr 2010 15:24:55 -0400 From: Diane Bruce <db@db.net> To: bf1783@gmail.com Cc: freebsd-hackers@FreeBSD.org Subject: Re: regenerating /var/db/pkg Message-ID: <20100422192455.GA26153@night.db.net> In-Reply-To: <v2sd873d5be1004221148r1f1c653fr608bae6341439beb@mail.gmail.com> References: <v2sd873d5be1004221148r1f1c653fr608bae6341439beb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 22, 2010 at 06:48:43PM +0000, b. f. wrote: > Doug Barton wrote: > >On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote: ... > find /usr/local -type f -print0 | xargs -0 pkg_which -v | fgrep '?' libchk would also be useful. ... > > But as Doug suggests, a full cleanup of PREFIX/LOCALBASE and > reinstallation of all leaf packages may be easier than a > reconstruction of /var/db/pkg. ... I also agree with Doug here. The key thing is to have a record or a good idea of what you had installed in the first place. I reiterate, having a thumb drive with copies of your /etc,/var/db/pkg /usr/local/etc, you get the idea, is very useful to have around. - Diane __ - db@FreeBSD.org db@db.net http://www.db.net/~db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100422192455.GA26153>