Description of problem: Since upgrading to Spacewalk 2.4, I can no longer install updates to packages with no defined epoch in CentOS 5. This appears to be due to the fix for bug 1172288 in commit 83330778. When I revert this change in packages.py, package updates work again for CentOS 5. pkg.returnEVR().compare(evr) appears to return > 0 when comparing an epoch of 0 (installed package) with None (target package). Version-Release number of selected component (if applicable): yum-rhn-plugin-2.4.6-1.el5 How reproducible: 100% Steps to Reproduce: 1. Attempt to schedule an update to a package with no epoch on a CentOS 5 system 2. Run rhn_check Actual results: The task completes, but no work is done, because "More recent version of package <name> is already installed." Expected results: The package should be updated.
*** Bug 1302198 has been marked as a duplicate of this bug. ***
spacewalk.git 2dfce30827cc3bde997249dfa318f8d1d0e8f83b
Spacewalk 2.5 was released.
*** Bug 1248713 has been marked as a duplicate of this bug. ***
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.