John Aldrich wrote:
> 
> On Fri, 03 Sep 1999, you wrote:
> > Hi!
> >
> > What I want to do is this:
> >
> > I want to search the RPM directory of the Mandrake CD for a certain
> > filename and then want to have displayed which uninstalled RPM-package
> > this file belongs to. And I want it in one command ;-)
> >
> Try rpm -qa | grep <package>
> 
> For example, I did the following on my system:
> "rpm -qa | grep netscape"
> 
> The results were as follows:
> 
> netscape-common-4.6-1
> netscape-communicator-4.6-1
> netscape-navigator-4.6-1


Yeah, I knew that ;-) But what I wanted was to look for a certain *file*
contained in an RPM. If you compile stuff you sometimes miss a certain
file and wonder which package you have to install to get it. 
However Axalon provided a good one (like always ;-)). But thanks anyway,
maybe next time *grin*.

Regards

tom

-- 
"Never trust a Shoggoth!"
Thomas 'tom' Berger, [EMAIL PROTECTED]
LSTB - "advancing the community"

Reply via email to