Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2007 08:12:22 -0600
From:      James <jamesh@lanl.gov>
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I performed an rm -r on /var/lib/pkg
Message-ID:  <1192803142.73574.9.camel@secretariat.lanl.gov>
In-Reply-To: <20071018201141.49b2493a@gumby.homeunix.com.>
References:  <1192134379.33933.9.camel@secretariat.lanl.gov> <200710122313.59809.fbsd.questions@rachie.is-a-geek.net> <20071013011349.66164ced@gumby.homeunix.com.> <200710131705.11020.fbsd.questions@rachie.is-a-geek.net> <20071013221326.78ede247@gumby.homeunix.com.> <1192733493.64553.67.camel@secretariat.lanl.gov> <20071018201141.49b2493a@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2007-10-18 at 20:11 +0100, RW wrote:

> On Thu, 18 Oct 2007 12:51:33 -0600
> James <jamesh@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@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "freebsd-questions-unsubscribe@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.

Yes. 


> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Feeding pkgdb/pkg_which a port creates a directory for that port
in /var/db/pkg.

It then returned a question mark, which kind of sucked, silence being
golden in unix, but I had an entry for openmpi appear in /var/db/pkg

Is this really just meaningless grasping at straws? It looked like this
in conjunction with pkgdb -L would work.

James



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