Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 22:43:37 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: regenerating /var/db/pkg
Message-ID:  <4BCFE209.20501@FreeBSD.org>
In-Reply-To: <4BCE5ECC.6070202@gmail.com>
References:  <4BCE5ECC.6070202@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote:
> I acciddentally rm'ed my /var/db/pkg and want to know is it possible to 
> rgenerate it (I have portmaster and portupgrade installed)

Portmaster certainly can't do this, it uses the information from
/var/db/pkg. I'm not sure if portupgrade can do it or not.

Your most likely course of success is to generate a list of ports that
you know you're using ("root" and "leaf" ports in portmaster
terminology), back up any config or other key files from /usr/local,
then delete everything and reinstall.


Good luck,

Doug

-- 

	... and that's just a little bit of history repeating.
			-- Propellerheads

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/




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