Bug 462809

Summary: xml-commons-apis-javadoc conflicts with older xml-commons-apis
Product: [Fedora] Fedora Reporter: Sean Flanigan <sflaniga>
Component: xml-commons-apisAssignee: Matt Wringe <mwringe>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2008-09-19 20:02:29 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: 438943    

Description Sean Flanigan 2008-09-19 02:14:24 UTC
Description of problem:

Installing xml-commons-apis-javadoc from rawhide leads to yum conflict if older xml-commons-apis is already installed.

Version-Release number of selected component (if applicable):
xml-commons-apis-javadoc-1.3.04-1.2.fc10.i386


How reproducible:

Probably depends on whether you have a different version of xml-commons-apis installed before trying to install xml-commons-apis-javadoc.

Steps to Reproduce:

1. Start with a Fedora 9 development machine which has previously installed rawhide Eclipse (ie a messy F9/rawhide hybrid)
2. yum --enablerepo=rawhide install eclipse-*

But I think you could reproduce this simply with:
1. Install Fedora 9
2. yum install xml-commons-apis
3. yum --enablerepo=rawhide install xml-commons-apis-javadoc

(Or by installing xml-commons-apis, waiting for a revision bump, then installing xml-commons-apis-javadoc.)

Actual results:

Transaction Check Error:
  file /usr/lib/gcj/xml-commons-apis/xml-commons-apis-1.3.04.jar.so from install of xml-commons-apis-javadoc-1.3.04-1.2.fc10.i386 conflicts with file from package xml-commons-apis-1.3.04-1jpp.1.fc9.i386


Expected results:

Yum should install the packages without conflict, upgrading other packages if necessary.


Additional info:

I had an older version of the .jar.so from xml-commons-apis, so it conflicted with the updated .jar.so in the javadoc package.  

I don't think the documentation package xml-commons-apis-javadoc should be containing a jar.so file.  Removing it should eliminate the conflict.


Workaround:

1. Force the xml-commons-apis* packages to be synchronised
  yum --enablerepo=rawhide install xml-commons-apis xml-commons-apis-javadoc
2. Install dependent packages
  yum --enablerepo=rawhide install eclipse-*

Comment 1 John Poelstra 2008-09-19 17:58:13 UTC
adding to blocker because of unresolved dependencies

Comment 2 Matt Wringe 2008-09-19 19:02:29 UTC
The xml-commons-apis package does not own anything outside of /usr/share/javadoc.

The error message you are seeing is very misleading and basically means that when trying to install xml-commons-apis-javadoc one of its dependencies (or the dependencies of a dependency) has a file conflict with the jar.so file. 

Can you please output the result of the command below. I really need to know what package or packages are providing this.

rpm -q --whatprovides xml-commons-apis

Comment 3 Matt Wringe 2008-09-19 19:04:34 UTC
The xml-commons-apis package does not own anything outside of
/usr/share/javadoc.

Oops,
That should have been "The xml-commons-apis-javadoc package...

Comment 4 Matt Wringe 2008-09-19 19:10:39 UTC
And Oops again, yes the javadoc is providing the jar.so
Fixing this right now