- A small set of application RPMs
- A few OS RPMs (CentOS)
The only way I can think of doing it is to:
- Start with my set of application and OS packages/RPMs
- For each package:
- Run "yum deplist" on each one to get the set of providers
- For each dependency:
- If the dependency is not satisfied by one of the packages, then add one of the providers of this dependency to our list of packages
However, this is not something I want to be doing by hand since it could take a long time. Also, I will need to repeat this process every release. Thus, I would like to automate this, but when a dependency is provided by multiple providers, it will be difficult to write a program to decide which one to choose.
While thinking on this problem, I realized that yum must already do this to some extent. After all, when you need to install a new package, yum will find all the dependencies and get the packages that provide them automatically.
So is there some way for me to get the complete list? The system I am creating this list on already has many packages installed, so using the "downloadonly" plugin won't work since it will skip any packages already installed, and I need to get all the packages even if they are currently installed.
Thanks!!
Chris
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum