Re: Yum equivalent of rpm -i --test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Apr 09, 2008 at 01:43:45PM -0600, 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?

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
  > transaction
  > run
  > exit

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.

> 
> Thanks!
> jlc
You are welcome,

Wojtek

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux