Red Hat Bugzilla – Bug 50243
rpm -Uvh overwrites config files
Last modified: 2007-04-18 12:35:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.7 i686)
Description of problem:
Steps to Reproduce:
1. edit a configuration file in /etc for a program (take apache)
2. upgrade the package that has its configuration in /etc somewhere
3. run rpm -Uvh apache-<newer version>
4. your config may be saved as <config>.rpmsave
sometimes this happens sometimes it does not
Expected Results: rpm should prompt the user and ask if they want to use
the old or new config file. In the case of upgrading an entie system a
user should be able to select which config files he/she wants saved.
A users should not have useless rpmsave files all over there system.
rpm is a batch mode install program, no user dialogue is desired or permitted.
The config file handling depends on how the files are packaged, different
people package in different ways. Meanwhile, the mechanism provided
by rpm is exactly the same as it's always been, and will not be changed.
If you have problems with how specific files are packages, then make a
bug report against that package, not rpm.