I performed an rm -r on /var/lib/pkg

Kevin Kinsey kdk at daleco.biz
Thu Oct 11 13:53:26 PDT 2007


James wrote:
> Call it a moment of sheer stupidity, call it a misremembering, call it
> whatever you want (and I imagine I'll hear a few different ones), but I
> just did an rm -r /var/lib/pkg.
> 
> Before I type anything to damage things further, does anyone have any
> suggestions as to how to recover from this? I have other FreeBSD boxes
> available to me, none with the same pkg list, though. I'll be reading
> man pkgdb in the meantime..


I'm guessing you might be Real Tired(tm).  Do you mean
/var/db/pkg?

$ ll /var/lib/pkg
ls: /var/lib/pkg: No such file or directory

Kevin Kinsey
-- 
The proof of the pudding is in the eating.
		-- Miguel de Cervantes


More information about the freebsd-questions mailing list