[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: querying RPM's



You may also want to get "rpmfind" it's a very useful package.

I also got a bunch of useful RPM scripts from rufus.w3.org .. well I think
with was rufus.

Other than that "rpm -qpli | grep -B30 $1" does the thing for me.

tom jeeves seaslug org wrote:

> On Wed, 25 Nov 1998, Michael Jinks wrote:
>
> Why not "rpm -qlp * | less" then do a "/" search for the package and
> backup to get the source?  That's the way I do it.
>
> > 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.
> >
> > ------------------------------
> >
>
> ================================================
> Red Hat Linux!   Where I really went today!
> Please send personal replies to:
>                          thos jeeves seaslug org
>
> --
>   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.

--

____________________________
Alain Terriault, SysAdmin
McGill University, Music
http://www.music.mcgill.ca/alain




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]