Red Hat Bugzilla – Bug 462809
xml-commons-apis-javadoc conflicts with older xml-commons-apis
Last modified: 2008-09-19 16:02:29 EDT
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):
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.)
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
Yum should install the packages without conflict, upgrading other packages if necessary.
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.
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-*
adding to blocker because of unresolved dependencies
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
The xml-commons-apis package does not own anything outside of
That should have been "The xml-commons-apis-javadoc package...
And Oops again, yes the javadoc is providing the jar.so
Fixing this right now