[Yum] Recursive dependency resolution
Jim Bartus
jbartus at advance.net
Thu Apr 28 21:58:56 UTC 2005
seth vidal wrote:
> On Thu, 2005-04-28 at 17:39 -0400, Jim Bartus wrote:
>
>>Is there a simple programmatic way to generate a list of every package
>>that needs to be installed to meet the requirements of a given package?
>> Basically a dry run of what yum is made for but without being smart
>>and ignoring those dependencies which are already met.
>>
>>For instance "yum --what-would-be-needed-for php" would recursively go
>>through and generate a list of all packages that php requires, and all
>>the packages that those packages require, etc.
>>
>
>
> You mean EVERYTHING?
>
> if so try a yum --installroot=/some/path/ install php
>
> yum should try to do an entirely new and exciting install in that new
> path. And since nothing is in that new path then it will install all
> those things required for php.
>
> -sv
>
Sure but I just want the list, not for anything to actually install.
-jim
More information about the Yum
mailing list