Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 16:46:03 +0400
From:      Andrew Pantyukhin <infofarmer@FreeBSD.org>
To:        nikolaj.thygesen@diamondbox.dk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Deleted /var/db/pkg
Message-ID:  <20070918124601.GA52705@amilo.cenkes.org>
In-Reply-To: <8980.80.80.2.75.1190116887.squirrel@webmail1.one.com>
References:  <8980.80.80.2.75.1190116887.squirrel@webmail1.one.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 18, 2007 at 02:01:27PM +0200, nikolaj.thygesen@diamondbox.dk wrote:
> Hi list,
> 
>     Suppose you deleted /var/db/pkg by accident :( What would you do to
> get it back??

I'd go one of these ways:
- rm -rf /usr/local ...
- rebuild all the packages I need in a chroot, then pkg_add them

Good luck!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918124601.GA52705>