Yum equivalent of rpm -i --test
On Wed, Apr 09, 2008 at 01:43:45PM -0600, Joseph L. Casale wrote:
> >For CentOS5, you could use yum-downloadonly plugin :
> Will this still allow rpm to "--test" the install of a local rpm and pull in the deps and simulate the install?
When you have the plugin installed and enabled it will enable --installonly option in yum;
You can use it with yum shell also, e.g.
yum --installonly shell
> install gcc
Yum will check deps, download rpm files to yum cache directory as defined in yum config file.
You can then to whatever you want with the files, for example run rpm with options
you need on them.
You are welcome,
CentOS mailing list