Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2010 10:35:36 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   regenerating /var/db/pkg
Message-ID:  <19409.45112.41736.174681@jerusalem.litteratus.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

Aryeh M. Friedman writes:

>  I acciddentally rm'ed my /var/db/pkg and want to know is it
>  possible to rgenerate it (I have portmaster and portupgrade
>  installed)

	(I'm assuming you have _completely_ deleted the contents of
/var/db/pkg.)
	If you have not deleted /usr/ports/distfiles, this will give
you a starting place.  Mind you, some of the distfile names bear
scant relation to the port names ... but they're usually not that
hard to track down.
	The advice to "start with a big one" - OpenOffice, KDE, etc. -
is also sound.


				Robert Huff
				(who used this method
				 successfully a couple of years ago)
		




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