Proposal - don't install .rpmnew unless changed

Paul Howarth paul at city-fan.org
Thu Jan 19 13:03:24 UTC 2006


Neal Becker wrote:
> It would save admins a lot of time if we modify rpm so that it does not
> create a .rpmnew file if there is no change from the old file.  I would
> think this would be a simple modification.

It already does this, doesn't it?

My understanding was that for a %config(noreplace) file, a .rpmnew file 
is created if the on-disk version of the file is different from the one 
in the package about to be upgraded *and* the one in the upgrade package 
is also different from the one in the package about to be upgraded.

Things get a bit more complicated when multiple packages own the same 
config file, e.g. /etc/vimrc

Paul.




More information about the fedora-devel-list mailing list