Bug 82060 - rpm does not preserve modified binaries when upgrading packages
rpm does not preserve modified binaries when upgrading packages
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-01-16 18:52 EST by Ben Elliston
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-17 09:37:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ben Elliston 2003-01-16 18:52:26 EST
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?


Version-Release number of selected component (if applicable):

How reproducible:

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:
Comment 1 Jeff Johnson 2003-01-17 09:37:52 EST
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.

Note You need to log in before you can comment on or make changes to this bug.