Re: Yum equivalent of rpm -i --test

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



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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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