If files in RPMs are marked %config
or %config(noreplace)
¹, running something like dnf update
or yum update
will not touch (modified) configuration files, but leave the old ones in place and create .rpmsave
or .rpmnew
files instead.
Is it possible to tell dnf
, … to always replace all configuration files, discarding changes and forcing updates of all files?