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

RW fbsd06 at mlists.homeunix.com
Thu Oct 18 12:35:55 PDT 2007


On Thu, 18 Oct 2007 12:51:33 -0600
James <jamesh at lanl.gov> wrote:

> > It depends what state the ports were in at the time of the
> > accident. If you haven't run a leaf-cutting program recently you
> > may have old dependencies and tools that have become leaves - they
> > may take years to show-up.
> > 
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> I just discovered pkg_which.
> 
> I'm thinking I can use this to solve my (still haven't worked on)
> problem. Any ideas why this might be a bad idea? I essentially feed
> it a list from /usr/ports/distfiles and move on.


Do you have the database file? The default location is in the directory
you deleted.


More information about the freebsd-questions mailing list