what to do with .rpmnew's?

Mike Klinke lsomike at futzin.com
Sat Jul 16 01:14:33 UTC 2005


On Friday 15 July 2005 19:15, Claude Jones wrote:
 
>
> So, there's the original file, which is left untouched; that file
> is copied with the extension .rpmsave and still left untouched;
> and the new default file that the upgrade 'would' have installed
> is saved with the extension .rpmnew - correct so far?
>
> I'm still not sure what I'm supposed to do with these.
>
> How do I decide whether to use the new default file, or leave
> things as they are with the original file? I guess in some cases,
> the answer is obvious, if I've made custom configurations, but,
> what is the general procedure, here?
>

Whether the original file is saved/used or not depends on who put 
the package together according to some underlying philosophy.  Some 
packages will replace the original file (.rpmsave) with the new 
one, others will keep the old one (.rpmnew) so keep your eyes open 
for these as you update.  Your task is to compare the files to 
determine which to use ( In most cases I'd try to use the new 
file ).  Most of the time you can issue:

diff <oldfile> <newfile>

to list the differences.  


Regards, Mike Klinke




More information about the fedora-list mailing list