[Discuss] BLU's SEO

Matthew Gillen me at mattgillen.net
Fri Oct 18 19:14:36 EDT 2013


On 10/18/2013 1:30 PM, John Abreau wrote:
> ... and I put it aside when I realized that my changes would be wiped
> out the next time I ran "yum update".

Not necessarily.  Here's what RPM does if you make local modifications
to a file, and then try to update the package:
 - if the file you modified is identical in both versions of the
package, then the local modifications are kept in-place (zero effort to
maintain your local change)
 - if the file you modified is different in the two packages, RPM
doesn't assume it knows how to munge the two versions with whatever
local modification has been made, so it uses the new version of the file
from the RPM and saves your locally modified version in filename.rpmsave

So yes you have to pay attention to the warnings when you update that "x
was saved as x.rpmsave", but in the case that the file is newer in the
package you probably should be manually re-merging the local change anyway.

Some clever scripting around "yum update" could probably send you a nice
email whenever you need to manually pay attention to something like that...

Matt




More information about the Discuss mailing list