[Rpm-maint] How to get RPM requires quickly

Florian Festi ffesti at redhat.com
Mon Sep 15 12:49:17 UTC 2014

On 09/15/2014 02:42 PM, Panu Matilainen wrote:
> On 09/13/2014 04:13 PM, Richard W.M. Jones wrote:
>> We have a program[1] that needs to take a list of installed RPM
>> package names, and quickly generate all of the installed dependencies
>> (recursively).

> To get rpm do a bit more work for you, use 'rpm -e --test' to make rpm
> resolve the deps. Basically

I don't think these are same things. 'rpm -e' gives the packages
requiring the package in question while I think the original question
was for the packages required *by* the package.



Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters

More information about the Rpm-maint mailing list