[Yum] Question about listinf package dependencies.
gpoothia at cs.sunysb.edu
Wed Apr 5 20:09:56 UTC 2006
well I'm actually working on a new security infrastructure as part of my
research where if the integrity of one "trusted" package is compromised I
trace the other parts
of the system that are potentially compromised.
any ideas on how i can find the dependencies?
On Wed, 5 Apr 2006, seth vidal wrote:
> 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.
More information about the Yum