dimanche 1 février 2015

rpm -Uvh - How to replace modified config file


The question is a duplicate from Stackoverflow site


I upgrade rpm package with rpm -Uvh command.


Original and new configuration file is the same, but current file on disk has been changed.


This situation described in Original file = X, Current file = Y, New file = X


Due to delivered fixes in a new rpm file I want to overwrite this configuration file anyway. Is there way to do it ?


The configuration file appear in %config section of rpm spec.


--replacefiles, --replacepkgs options don't help here.


Thanks



Aucun commentaire:

Enregistrer un commentaire