Attempting to install the findbugs RPM via yum give the following transaction check errors: file /usr/share/findbugs/lib/jaxen.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package jaxen-0:1.1.6-1.fc20.noarch file /usr/share/findbugs/lib/dom4j.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package dom4j-0:1.6.1-18.fc20.noarch file /usr/share/findbugs/lib/jsr-305.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package jsr-305-0-0.16.20130910svn.fc20.noarch file /usr/share/findbugs/lib/findbugs-bcel.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package findbugs-bcel-5.3-0.2.20130910svn1521566.fc20.noarch file /usr/share/findbugs/lib/jFormatString.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package jFormatString-0-0.14.20131227git.fc20.noarch file /usr/share/findbugs/lib/apache-commons-lang.jar from install of findbugs-2.0.3-4.fc20.noarch conflicts with file from package apache-commons-lang-2.6-13.fc20.noarch file /usr/share/java/findbugs.jar conflicts between attempted installs of findbugs-2.0.3-4.fc20.noarch and findbugs-2.0.3-4.fc20.noarch
What command are you using to install findbugs? I just tried this, for example, and got no error: $ sudo yum install jaxen dom4j jsr-305 findbugs-bcel jFormatString apache-commons-lang $ sudo yum install findbugs
The first 6 errors look a bit odd because the files in /usr/share/findbugs/lib belong to the findbugs package. They shouldn't conflict with files in the jaxen, dom4j, etc. packages. The last error also looks odd as it seems to be reporting a conflict between findbugs and findbugs...
I already have findbugs version 2.0.3 release 3.fc20 installed, so I'm just using "yum update".
I tried removing findbugs and then doing a fresh install, and still got the same problems. Attached is a full log of the install attempt.
Created attachment 942496 [details] "yum install findbugs" log
I think you might have symlinks even though the packages are not installed. Can you confirm by attaching the output from: $ sudo yum remove findbugs apache-commons-lang findbugs-bcel jFormatString jcip-annotations jsr-305 $ ls -l /usr/share/findbugs/lib /usr/share/java/findbugs.jar
[root@localhost findbugs]# ls -l /usr/share/findbugs /usr/share/java/findbugs.jar /bin/ls: cannot access /usr/share/java/findbugs.jar: No such file or directory /usr/share/findbugs: total 4 drwxr-xr-x. 3 root root 4096 Sep 29 14:29 etc/ lrwxrwxrwx. 1 root root 15 Feb 15 2014 lib -> /usr/share/java/ So, I did have a symbolic link from /usr/share/findbugs/lib to /usr/share/java After doing "rm -rf /usr/share/findbugs", yum could install findbugs just fine. Sorry for the false alarm.
(In reply to Matthew Cline from comment #7) > After doing "rm -rf /usr/share/findbugs", yum could install findbugs just > fine. > > Sorry for the false alarm. No problem. Thanks for responding, and glad you could get it sorted.