Bug 523393
| Summary: | /usr/bin/update-packages creates wrong path for packages using epoch | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Miroslav Suchý <msuchy> |
| Component: | Upgrades | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 530 | CC: | cperry, dherrman, jhutar, jpazdziora, mzazrivec, tao, tscherf, xdmoon |
| 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: | 2009-10-06 14:36:06 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 518256, 523386 | ||
|
Description
Miroslav Suchý
2009-09-15 10:24:22 UTC
*** Bug 523307 has been marked as a duplicate of this bug. *** Actually, the problem is not with that omit_epoch. The problem is that the nvrea parameter which gets passed to get_new_pkg_path comes from parseRPMFilename, which parses old_path_nvrea[-1]. And there is no epoch component in the "net-snmp-5.3.2.2-7.el5.i386.rpm" string. Taking for now. Fix to properly retrieve the epoch (to be able to add it to path) committed to Spacewalk master: f67b418c62184fc755670e98b0b7657e828d41a0. Fix to move files with paths without epoch, created by previous run of update-packages, to final location: Spacewalk master: 3918b00a462e27fd8e7e2d5662b898f1ff078947. Change in select, to find also paths that do not have the epoch (even if they should have it): Spacewalk master: 4f2a9c312d6183072d7e84261dd09eb80e49dc1c. Additional fix for situations when the old path is shorter than then new one (which is in all cases when going from pre-5.3 to 5.3): Spacewalk master: 013de18fe8c3b4de818140e06645096dabc4f071. satellite.git, SATELLITE-5.3: 18585b473f0e69af1704d2557c1aa946ff4a30a1 rhn-upgrade-5.3.0.24-1.el4sat & rhn-upgrade-5.3.0.23-1.el5sat An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1479.html |