Matthew Carpenter wrote:
> Is there an easy way to have RPM cough up which package provides certain files?

You mean, like 
"rpm -qf /path/to/file"? 

$ rpm -qf /bin/ls
fileutils-4.1-4

Or, perhaps, "rpm -ql nameofrpm"? 

$ rpm -ql fileutils
/bin/chgrp
/bin/chmod
/bin/chown
/bin/cp
/bin/dd
...

Perchance you meant, "rpm -qpl uninstalled-rpm.rpm"?

$ rpm -qpl ~/tmp/whois-4.4BSD-3.src.rpm 
Makefile.kurt.patch
whois-4.4BSD-COL.patch
whois-4.4BSD.tar.gz
whois.1.kurt.patch
whois.kurt.patch
whois.spec

Kurt
-- 
Send your questions to ``ASK ZIPPY'', Box 40474, San Francisco, CA
94140, USA
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to