yum erase the best way to do reverse dependency checking?

Andras Simon szajmi at gmail.com
Wed Feb 23 09:41:18 UTC 2011


On 2/23/11, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
> On 02/20/2011 08:04 PM, Richard Shaw wrote:
>> I was googling for a way to figure out a dependency chain for a
>> package I'm trying to flush out a spec file for and build. There
>> doesn't seem to be a non-destructive equivalent to "yum erase
>> <package>" to see if I need to explicitly include a package/program.
>>
>> Anyone have a solution they like?
>
> I kinda fail to see how it relates to building packages, but this'll
> give you the "what would break if I removed foo" answer without actually
> ever doing anything:
> $ rpm -e --test <package>

Not really, because this will only show packages that directly depend
on the first package, not those that depend on these dependent
packages etc.

Andras


More information about the users mailing list