Bug 134388
| Summary: | Upgrades between same nevr and differing content leave files around | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mariusz Mazur <mmazur> | ||||
| Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Mike McLean <mikem> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | barryn, kad, ldv, nobody+pnasrat, solar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | http://ep09.pld-linux.org/~mmazur/rpm-bug/ | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-10-22 21:05:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Mariusz Mazur
2004-10-01 21:47:58 UTC
It's because rpm only does a "refresh" operation if the nevr is the same, i.e. only the installation phase is done and no erase phase at all. (There's a hack in rpm that removes the old header from the database.) Most non-intrusive approach to implement the Most non-intrusive approach to implement the fix is to add one more key to distinguish packages with same NEVR. What do you think about BUILDTIME? And if BUILDTIME is not sufficient, then SHA1HEADER should be enough. Created attachment 120124 [details]
rpm-owl-compare-digest.diff
Proposed implementation, backported from the patch I made for Owl's rpm-4.2.
Fixed in rpm-4.4.3-0.18. Thanks for the patch. |