Created attachment 535360 [details] log from 5.7 - pass Description of problem: If I try install all all packages from supplementary CD, I get file conflict: file /usr/share/applications/java-1.5.0-ibm-javaws.desktop conflicts between attempted installs of java-1.5.0-ibm-1.5.0.12.5-1jpp.1.el5.ppc64 and java-1.5.0-ibm-plugin-1.5.0.12.5-1jpp.1.el5.ppc Version-Release number of selected component (if applicable): java-1.5.0-ibm-plugin-1.5.0.12.5-1jpp.1.el5.ppc java-1.5.0-ibm-plugin-1.5.0.12.5-1jpp.1.el5.ppc64 RHEL5.8-Server-Supplementary-20111121.1 RHEL5.8-Server-20111121.0 How reproducible: always Steps to Reproduce: 1. Install RHEL5.8-Server-20111121.0 2. Enable base repo 3. install all packages from supplementary CD: RHEL5.8-Server-Supplementary-20111121.1 Actual results: ... -------------------------------------------------------------------------------- Total 9.5 MB/s | 31 MB 00:03 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Check Error: file /usr/share/applications/java-1.5.0-ibm-javaws.desktop conflicts between attempted installs of java-1.5.0-ibm-1.5.0.12.5-1jpp.1.el5.ppc64 and java-1.5.0-ibm-plugin-1.5.0.12.5-1jpp.1.el5.ppc Error Summary ------------- Expected results: No errors, packages should be installed Additional info: This is regression against RHEL5.7, see attached log files
Created attachment 535361 [details] log from 5.8 - fail
I think this is the same issue as in bug #752493 (dbus) and caused by this RPM change: * Mon Oct 31 2011 Panu Matilainen <pmatilai> - 4.4.2.3-25 - File conflicts correctness & consistency fixes (#740291) Adding Panu to CC.
java-5-ibm have passed install tests in July, so this is probably rpm issue
This is a packaging bug, until now masked by RHEL-5 rpm being sloppy when conflicts occur with the same transaction - see bugs 740291 and 756330. The .desktop file content differs between 32- and 64bit packages and trying to install them in separate transactions would have always caused conflicts. I haven't yet looked at the files in question, but chances are that the desktop launcher has been pointing to the secondary arch javaws because this.
Created attachment 536331 [details] Suggested patch brew scratch build https://brewweb.devel.redhat.com/taskinfo?taskID=3851928
Created attachment 537999 [details] second patch, instead of removing javaws from ppc64 adding arch specific strinf into javaws desktop and logo scratch build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=3856961
The patch in comment #6 is the correct one. The one in comment #5 will cause problems if only the ppc64 version is installed.
Build from comment #6 installs without any conflict. Also the .desktop file exists (and is correct) when only ppc64 version is installed.
built https://brewweb.devel.redhat.com/taskinfo?taskID=3874318
FYI: the rpm fix has been reverted due to requiring changes to too many packages. So while removing the conflict in packaging is only a good thing, it's not required for RHEL 5.8.
Are we still going to fix this when the rpm fix has been reverted?
ok then. The fix is commited. And is for good-of-things. This will be included in next release.