rpm -q --whatrequires foo lies
Jay Cliburn
jacliburn at bellsouth.net
Fri Aug 4 11:36:04 UTC 2006
Todd Zullinger wrote:
> -----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
>
Naming a package "foo(bar)" seems pretty odd to me. This is the first
time I've run across it.
Well, at this point it's little more than an exercise in curiosity, but
here's more dbus-sharp fun...
[root at petrel ~]# rpm -q --whatrequires dbus-sharp
no package requires dbus-sharp
[root at petrel ~]# rpm -q 'mono(dbus-sharp)'
package mono(dbus-sharp) is not installed
[root at petrel ~]# rpm -q --whatrequires 'mono(dbus-sharp)'
tomboy-0.3.5-3
[root at petrel ~]# rpm -q tomboy
tomboy-0.3.5-3
[root at petrel ~]#
More information about the fedora-list
mailing list