[Yum] Question about listinf package dependencies.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-04-05 at 14:29 -0400, Gaurav Poothia wrote:
> Hi!
> My current project needs me to do the following:
> Given the name of an installed package to compile a list of all packages
> that "IT DEPENDS ON" directly or indirectly.
> 
> The rpm command has the -R switch which gives me requirements split into :
> 1.Packages
> 2.Libraries.
> 
> For both I will have to further run another query and so on
> recursively.
> 
> YUM might  have a way to find this transitive closure automatically for me
> since I notice that it does list ALL packages which "DEPEND ON IT" (the
> other direction of the dependency) for a given installed package...by simply
> starting to uninstall and then aborting at point of confirmation ;-)
> 

why do you need to do this? What are you trying to accomplish?

I'm curious b/c it seems like you're going through a lot of work to
generate a dependency tree.

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux