Joseph L. Casale wrote:
For CentOS5, you could use yum-downloadonly plugin :
Wojtek, Will this still allow rpm to "--test" the install of a local rpm and pull in the deps and simulate the install?
Yum (in the default incarnation) requires that you press a "Y" for yes to proceed with the transaction.
It will do all the dependency calcs and present a list of things needed, but not install if you select NO.
Also, you can just use some of the yum switches to get a deplist ... like:
yum deplist <pkg_name>
or lastly, you can use reqoquery that is part of yum-utils (after installing the yum-utils package, do man repoquery).
SO .. there is no dry run for yum specifically, but depending on what you really want, there are several alternatives.