Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had some files on a server. Then I installed a rpm package that have same files in it. As a result, rpm package overwrite these files and I lost my newly edited files. I wonder if there is a way to recover/restore these files via rpm capabilities?

share|improve this question
up vote 1 down vote accepted

rpm does not create backups of files that are not marked as configuration files, so the changes are lost. However, rpm also won't overwrite files that exist in the rpmdb but have a different signature, and will refuse to install the package unless forced.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.