From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux) Description of problem: I had Amanda installed on a 7.3 system and had replaced its /usr/lib/amanda/taper program with a locally modified version. I had expected that when upgrading to RHL 8.0, that rpm would have either skipped upgrading that package because it contains a modified binary (whose checksum does not match the installed version) or at least moved it to a .rpmsave file. Instead, RPM upgraded Amanda and overwrite the modified binary. Shouldn't RPM be a little friendlier in this circumstance? B. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install a package. 2. Change a binary managed by the package (say, in /usr/bin). 3. Upgrade that package. Notice that the modified binary is lost. Actual Results: The modified binary is overwritten with the corresponding one from the new package. Expected Results: The modified binary should have been renamed. Additional info:
rpm does package, not file, management. That means that files are installed from packages. If you want to preserve your own binaries, then uninstall the package before building your own amanda from sources.