regenerating /var/db/pkg
Doug Barton
dougb at FreeBSD.org
Thu Apr 22 05:43:40 UTC 2010
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/
More information about the freebsd-hackers
mailing list