Bug 756304 - file 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
Summary: file conflicts between attempted installs of java-1.5.0-ibm-1.5.0.12.5-1jpp.1...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: java-1.5.0-ibm
Version: 5.8
Hardware: powerpc
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: jiri vanek
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks: rhel58rtt
TreeView+ depends on / blocked
 
Reported: 2011-11-23 08:07 UTC by Martin Banas
Modified: 2012-02-03 16:14 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-07 10:21:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log from 5.7 - pass (60.90 KB, text/plain)
2011-11-23 08:07 UTC, Martin Banas
no flags Details
log from 5.8 - fail (40.60 KB, text/plain)
2011-11-23 08:08 UTC, Martin Banas
no flags Details
Suggested patch (1.08 KB, patch)
2011-11-25 14:01 UTC, jiri vanek
no flags Details | Diff
second patch, instead of removing javaws from ppc64 adding arch specific strinf into javaws desktop and logo (1.72 KB, patch)
2011-11-29 13:57 UTC, jiri vanek
no flags Details | Diff

Description Martin Banas 2011-11-23 08:07:59 UTC
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

Comment 1 Martin Banas 2011-11-23 08:08:36 UTC
Created attachment 535361 [details]
log from 5.8 - fail

Comment 2 Alexander Todorov 2011-11-23 09:26:15 UTC
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.

Comment 3 jiri vanek 2011-11-23 11:28:22 UTC
java-5-ibm have passed install tests in July, so this is probably rpm issue

Comment 4 Panu Matilainen 2011-11-23 12:02:12 UTC
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.

Comment 5 jiri vanek 2011-11-25 14:01:04 UTC
Created attachment 536331 [details]
Suggested patch

brew scratch build
https://brewweb.devel.redhat.com/taskinfo?taskID=3851928

Comment 6 jiri vanek 2011-11-29 13:57:00 UTC
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

Comment 7 Deepak Bhole 2011-11-29 14:55:04 UTC
The patch in comment #6 is the correct one. 

The one in comment #5 will cause problems if only the ppc64 version is installed.

Comment 8 Lukáš Zachar 2011-11-29 15:46:20 UTC
Build from comment #6 installs without any conflict. Also the .desktop file exists (and is correct) when only ppc64 version is installed.

Comment 9 jiri vanek 2011-12-06 18:44:10 UTC
built
https://brewweb.devel.redhat.com/taskinfo?taskID=3874318

Comment 11 Panu Matilainen 2011-12-07 08:28:38 UTC
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.

Comment 12 Petr Šplíchal 2011-12-07 10:17:40 UTC
Are we still going to fix this when the rpm fix has been reverted?

Comment 13 jiri vanek 2011-12-07 10:21:57 UTC
ok then. The fix is commited. And is for good-of-things. This will be included in next release.


Note You need to log in before you can comment on or make changes to this bug.