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-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux