[Mageia-dev] How to see the Suggests of a rpm package

Thierry Vignaud thierry.vignaud at gmail.com
Thu Feb 23 16:25:19 CET 2012


On 23 February 2012 14:31, Florian Hubold <doktor5000 at arcor.de> wrote:
>>> How does one check the Suggests provided by a rpm package that is not
>>> installed and only locally available? I know how to see the Requires, etc.
>>> but have had no luck with the Suggests part of it.
>> rpm -qp --suggests foo.rpm
>>
> The long form would be
> rpm -qp --queryformat "%{SUGGESTS}" foo.rpm
>
> You can see all queriable tags via rpm --querytags
>
> BTW: You can also use urpmf to query which package from the repos
> suggests a given package/library "foobar" via urpmf --suggests foobar
>

Not until that patch is applied:
https://bugs.mageia.org/show_bug.cgi?id=4012


More information about the Mageia-dev mailing list