On Sun, 10 Jun 2012 22:00:34 -0700, Gordon Messmer wrote: > On 06/09/2012 08:57 AM, JD wrote: > > Is rpm broken? > > > > # rpm -qv --whatrequires libmapi libzeitgeist > > No. From 'man rpm': > --whatrequires CAPABILITY > Query all packages that require CAPABILITY for proper functioning. > > The arguments to whatrequires aren't package names, they're capabilities > (which *may* be a package name). > > Instead try: > rpm -qv --whatrequires libmapi libzeitgeist $(rpm -q --provides libmapi > libzeitgeist | cut -f1 -d' ') The idea is good, but it is error-prone because it cuts off version information from the capabilities. For example, it could be that a package Provides: something… = 1.0 and another package Requires: something… = 2.0 which with your query would result in a false-positive. -- Fedora release 17 (Beefy Miracle) - Linux 3.4.0-1.fc17.x86_64 loadavg: 0.77 0.30 0.15 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org