Bug 455440
| Summary: | perl-IPC-ShareLite won't upgrade during 510 -> 520 upgrade | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> | ||||
| Component: | Installer | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Steve Salevan <ssalevan> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 520 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | sat520 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-11-05 18:41:13 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: | 446861, 446866 | ||||||
| Attachments: |
|
||||||
|
Description
Milan Zázrivec
2008-07-15 14:55:09 UTC
Created attachment 311842 [details]
This is what happens, when upgrading perl-IPC-ShareLite manually
As long as the perl-IPC-ShareLite.s390x package contains ShareLite.so library, the upgrade from older version of perl-IPC-ShareLite.s390 to the latest version of perl-IPC-ShareLite.s390x fails, complaining about conflicting manual page. When the ShareLite.so library is not included in the package, the whole upgrade proceeds smoothly, it does not complaing about conflicting files (man pages) at all. Nonetheless, the reason why this is happening is still unknown to me. During the package upgrade rpm decided not to include erasing of the older version into the transaction, hence the file conflict. The reason why this is happening is that during upgrade rpm erases only packages of the same color (see rpm sources, lib/depends.c, rpmtsAddInstallElement() routine). The real fix (or workaround) is then to either make the s390x version of the package contain also a s390 version of ShareLite.so or turn out file coloring during package build. I decided to turn the file coloring off; these two lines in spec file should take care of it: %ifarch s390x s390 %define _use_internal_dependency_generator 0 %endif Sending perl-IPC-ShareLite/perl-IPC-ShareLite.spec Transmitting file data . Committed revision 175362. Mass move to ON_QA. This package upgrades successfully with no errors during a RHEL4 s390x 511->520 upgrade. Moving to VERIFIED. It upgrades successfully, registered to Stage and using RPMs and ISOs pushed to Stage. Moving to RELEASE_PENDING. 5.2.0 Satellite is now GA, bugs Closed for Current Release. |