Re: rpm -q --whatrequires foo lies

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jay Cliburn wrote:
> Why doesn't "rpm -q --whatrequires dbus-sharp" find the same
> dependency that yum does?  This is an up-to-date FC5.i386 system.

The dependency that yum is catching isn't on dbus-sharp, but on
mono(dbus-sharp).

    $ rpm -q --whatrequires 'mono(dbus-sharp)'
    tomboy-0.3.5-3
    f-spot-0.1.10-1

You could do something like this to try and catch that:

    $ rpm -q --whatrequires $(rpm -q --provides dbus-sharp | cut -d= -f1)

There may well be an easier way to do this using rpm and bash, but
that's one way that springs to mind.  Of course, using yum is even
easier than that. :)

- -- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
If you're not confused, you're not paying attention

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQFDBAEBAgAtBQJE0r/xJhhodHRwOi8vd3d3LnBvYm94LmNvbS9+dG16L3BncC90
bXouYXNjAAoJEEMlk4u+rwzjMMAIAJHatZAEaxN/cph6WdaOa9clwY9A0n0P6du4
ARiLi4I0PYw6ryIIYLef4cxHJnE3czSQ2XlPr97UUiMeqjEMygdbxo1M7kFh9yAK
zKindz1gucji+VVnvzKadh7evAYkTtXy7D7ZSxGZdlI12PTm353IJzSVt4HYx6qC
oCosZj2xARUouOWUndTu+1XYbXchOqbh9tjbS7XIveYUZvtN5Fqkx5txTo8NdJCu
MQtRtEf38X0JNFK3VYgiC9DW0pOLGErB17SxL8Y2KqdGsINpYIdW9UqaSrfryBAw
qglzXqSZ38KTmbE0wJrJaVwMGc1gla/ED3VLgqdiU4GJVDsTDKc=
=W8Uw
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux