From owner-freebsd-questions Thu Dec 13 15: 1:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id A6F4B37B419 for ; Thu, 13 Dec 2001 15:01:28 -0800 (PST) Received: from fac13.ds.psu.edu (localhost.ds.psu.edu [127.0.0.1]) by fac13.ds.psu.edu (8.11.6/8.11.3) with ESMTP id fBDN0v500640; Thu, 13 Dec 2001 18:00:57 -0500 (EST) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200112132300.fBDN0v500640@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: swear@blarg.net (Gary W. Swearingen) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: master +CONTENTS list? In-Reply-To: Your message of "13 Dec 2001 14:49:08 PST." From: dochawk@psu.edu Date: Thu, 13 Dec 2001 18:00:57 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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