[101279] in RedHat Linux List

home help back first fref pref prev next nref lref last post

querying RPM's

daemon@ATHENA.MIT.EDU (Michael Jinks)
Wed Nov 25 13:48:34 1998

Date: Wed, 25 Nov 1998 18:46:07 +0000
From: Michael Jinks <michael@twopoint.com>
To: "redhat-list@redhat.com" <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Given a long list of RPM's (like on the RedHat CD), is it possible to do
some sort of package query that will tell me which package provides some
particular file?  The closest I have gotten so far is

$ rpm -qpl * |grep [some_file]

. . . which will tell me if it finds the file I want, but not which
package it came from.

I could |less and search, and that's what I'm going to do for now, but
it seems like there should be a better way.


-- 
Michael Jinks
mailto:michael@twopoint.com http://www.twopoint.com
Systems Administrator, Two Point Conversions, Inc.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post