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

D.Morgan dmorganec at gmail.com
Tue Feb 21 12:48:57 CET 2012


On Tue, Feb 21, 2012 at 10:27 AM, Colin Guthrie <mageia at colin.guthr.ie> wrote:
> 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


seems urpmq --whatrequires dracut  does the job


More information about the Mageia-dev mailing list