What happens at rpm -U..
if any file of the package being updated has been modified? Is it left updated with a new one, or the new (modified) file is kept with new extension?
RPM will overwrite any files that have changed unless they are explicitly designated as "configuration" files using the %config
flag. Then it will make a copy of either the new one ( *.rpmnew
) or the old one ( *.rpmsave
) based on whether or not the config file is flagged as noreplace
. See this reference for more details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.