Bug 227860
Summary: | rpm python bindings think no epoch is lower than epoch 0, but rpm itself doesn't think this | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> | ||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | aca21, dcantrell, lmacken, notting, pmatilai | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-06-26 07:51:48 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
Jesse Keating
2007-02-08 17:00:36 UTC
Yep. labelCompare() has never been taught Mising Epoch: should be treated exactly the same as Epoch: 0 FWIW, there are better EVR comparison API's available than labelCompare() many years now. Created attachment 147750 [details]
Test spec file
Jesse - I don't think the actually impacts yum. Try building attached spec
file, installing, remove epoch, bump release or version, rebuild and use yum
localupdate.
This isn't about yum. Bill Nottingham has a script that compares the verisons of packages that are in the update directories, to prune the old ones. The script is using rpm python bindings to do the comparison, and this is why we discovered that the python binding is miscomparing things that go from Epoch: 0 to None. *** Bug 229637 has been marked as a duplicate of this bug. *** Fixed in rpm cvs, will be in rpm-4.4.9-02 when built. This isn't an F7 blocker IMHO, removing from tracker. Fixed in rpm.org, will be in rpm 4.4.2.1 as well. CLOSED Fixed in next rawhide push by rpm 4.4.2.1-rc1 |