A "whatuses" command for yum?

Michael Schwendt mschwendt at gmail.com
Mon Apr 11 19:15:07 UTC 2011


On Mon, 11 Apr 2011 13:59:11 -0500, Jon wrote:

> Jeff Garzik wrote:
> > A humble, basic question for you experts...
> >
> > Given a library, such as jansson (C JSON lib), how does one 
> > automatically list all packages in the F14 repo which require jansson?
> >
> > Must be able to find packages which are not installed on the current system.
> >
> > Thanks,
> >
> > 	Jeff
> >
> >
> >
> >   
> repoquery --whatrequires <foo>, which could be a name of an RPM, or a 
> solib name, like libfoo.so.0.
> 
> repoquery is in yum-utils.

Note that --alldeps option is the default for some time, so if you
really want <foo> to be "a name of an RPM", you need to add --exactdeps


More information about the devel mailing list