Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 18:00:57 -0500
From:      dochawk@psu.edu
To:        swear@blarg.net (Gary W. Swearingen)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: master +CONTENTS list? 
Message-ID:  <200112132300.fBDN0v500640@fac13.ds.psu.edu>
In-Reply-To: Your message of "13 Dec 2001 14:49:08 PST." <vqk7vqbusb.7vq@localhost.localdomain> 

next in thread | previous in thread | raw e-mail | index | archive | help
gary grumbled,

> dochawk@psu.edu writes:

> > yes, but it depends upon the package being installed, doesn't it?  I'm 
> > concerned about the situation in which, by disaster or otherwise,  I 
> > need to find which package it *should* belong to so that I can force a 
> > reinstallation.

> Oh.  How about

>     grep something /var/db/pkg/*/+CONTENTS /dev/null

> That seems too simple.  Maybe I'm missing something.

yep.  That assumes that whatever/+CONTENTS is on the system.  What I'm 
after is, given the existence (or having heard about) a file, figuring 
out where it *should* have come from (e.g., broken dependencies leave 
me in need of a file, a port complains it's not present, and no package 
owns up to owning it).

:)
hawk

-- 
What part of "non-negotiable" didn't you understand? /"\   ASCII ribbon campaign
dochawk@psu.edu  Smeal 178  (814) 375-4700           \ /   against HTML mail
These opinions will not be those of                   X    and postings. 
Penn State until it pays my retainer.                / \   



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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