[Mageia-dev] Problem with rpm -q --whatrequires

Colin Guthrie mageia at colin.guthr.ie
Wed Feb 22 21:54:02 CET 2012

'Twas brillig, and David W. Hodgins at 22/02/12 04:36 did gyre and gimble:
> On Tue, 21 Feb 2012 04:27:17 -0500, Colin Guthrie
> <mageia at colin.guthr.ie> wrote:
>> Is this because the kernel requires it as Requires(pre) and thus it
>> doesn't show up? Should it show up?
> I don't know if it should show up for rpm or not, but it works
> with urpmq ...
> [root at hodgins /]# rpm -q --whatrequires dracut
> no package requires dracut
> [root at hodgins /]# urpmq --whatrequires dracut
> dracut
> kernel-desktop-3.2.6-3.mga2
> kernel-desktop586-3.2.6-3.mga2
> kernel-linus-3.2.6-1.mga2
> kernel-linus-3.2.7-1.mga2
> kernel-netbook-3.2.6-3.mga2
> kernel-rt-3.2.6-0.rt13.1.mga2
> kernel-server-3.2.6-3.mga2
> kernel-tmb-desktop-3.2.6-1.mga2
> kernel-tmb-desktop586-3.2.6-1.mga2
> kernel-tmb-laptop-3.2.6-1.mga2
> kernel-tmb-server-3.2.6-1.mga2
> kernel-vserver-3.2.6-1.mga2
> kernel-vserver-3.2.7-1.mga2

Yeah this is what Dexter said too, but it's really quite bad that the
two tools offer the same argument, but they actually work differently.
See my earlier reply about this tho'.



Colin Guthrie

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

More information about the Mageia-dev mailing list