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

Colin Guthrie mageia at colin.guthr.ie
Tue Feb 21 10:27:17 CET 2012


Hi,

I think I've mentioned this before here, but I keep getting tripped up
by this problem giving out false information.

Is this because the kernel requires it as Requires(pre) and thus it
doesn't show up? Should it show up?


[colin at jimmy ~]$ rpm -q --whatrequires dracut
no package requires dracut
[colin at jimmy ~]$ rpm -q --requires kernel-desktop-latest
kernel-desktop-3.2.6-3.mga2
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
[colin at jimmy ~]$ rpm -q --requires kernel-desktop-3.2.6-3.mga2
bootloader-utils >= 1.13-1
dracut >= 016-1
module-init-tools >= 3.16-14
sysfsutils >= 1.3.0-1
kernel-firmware >= 20111229-1
carl9170-firmware >= 1.9.4-1
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
[colin at jimmy ~]$ rpm -q --whatrequires "dracut >= 016-1"
no package requires dracut >= 016-1

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

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