Greetings, In up2date config file there is a directive by the name of noReplaceConfig . . . Do you know what is the /etc/yum.conf equivalent for that? noReplaceConfig[comment]=When selected, no packages that would change configuration data are automatically installed noReplaceConfig=1 Thank you,
Karanbir Singh
2010-Jul-16 23:48 UTC
[CentOS] noReplaceConfig equivalent for /etc/yum.conf
On 07/16/2010 11:44 PM, FHDATA wrote:> noReplaceConfig[comment]=When selected, no packages that would change > configuration data are automatically installed > noReplaceConfig=1yum does not automatically install anything. you would need to initiate an install / update operation by hand. Having said that, it should not be too hard to write a plugin that would force a user confirm for any package that drops or touches a file in /etc ( assuming you can get to a stage where /etc/* does represent all config data on a machine ). Alternatively, you could do it where the package payload is checked for config metadata. - KB