Red Hat Bugzilla – Bug 455440
perl-IPC-ShareLite won't upgrade during 510 -> 520 upgrade
Last modified: 2008-11-05 13:41:13 EST
Description of problem:
When running sat510 -> sat520 upgrade on a s390x system, upgrade process
fails when trying to upgrade perl-IPC-ShareLite package. The upgrade failure
is caused by the fact, that for some reason sat510 s390x iso contains s390
(i.e. 31-bit) version of the mentioned package.
Version-Release number of selected component (if applicable):
satellite 5.2.0 / perl-IPC-ShareLite-0.13-1.el4.s390x
Steps to Reproduce:
1. Install Satellite 5.1.0 on a s390x machine
2. Run 5.1.0 -> 5.2.0 upgrade
Upgrade process completes smoothly and without package upgrade errors.
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)
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
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.