CentOS Bug Tracker - CentOS-5
View Issue Details
0005190CentOS-5libgcjpublic2011-10-14 14:332012-01-15 17:38
michael.w.siadak@usace.army.mil 
normalminoralways
acknowledgedopen 
x86_64CentOS5.7
5.7 
 
0005190: File conflicts between i386 and x86_64 versions of libgcj package
When attempting to install both i386 and x86_64 versions of the libgcj package from yum, the following error occurs:

Transaction Check Error:
  file /usr/share/man/man1/fastjar.1.gz from install of libgcj-4.1.2-51.el5.i386 conflicts with file from package libgcj-4.1.2-51.el5.x86_64
  file /usr/share/man/man1/grepjar.1.gz from install of libgcj-4.1.2-51.el5.i386 conflicts with file from package libgcj-4.1.2-51.el5.x86_64
on an x86_64 install of CentOS 5.7:

yum install libgcj.i386 libgcj.x86_64
No tags attached.
related to 0001356closed JohnnyHughes CentOS-4 Yum installs i386 and x86_64 packages 
Issue History
2011-10-14 14:33michael.w.siadak@usace.army.milNew Issue
2011-10-14 15:02toracatNote Added: 0013540
2011-10-14 18:57michael.w.siadak@usace.army.milNote Added: 0013542
2011-10-14 19:51toracatNote Added: 0013543
2011-10-14 20:25toracatStatusnew => acknowledged
2011-10-14 20:33toracatRelationship addedrelated to 0001356
2012-01-15 17:14areedaNote Added: 0014188
2012-01-15 17:38toracatNote Added: 0014189

Notes
(0013540)
toracat   
2011-10-14 15:02   
I cannot reproduce the error. 'yum install libgcj.i386 libgcj.x86_64' successfully installs both. Can you do a 'yum clean all' and try again?
(0013542)
michael.w.siadak@usace.army.mil   
2011-10-14 18:57   
That's odd. I'm getting the conflict consistently (several different machines, even on a vanilla CentOS install) even after a 'yum clean all'. Here's output from a vanilla netinstall of CentOS 5.7 x86_64 with only Desktop Environments/Gnome (which includes libgcj.x86_64 i believe):

[root@localhost packages]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@localhost packages]# yum install libgcj.i386
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.igsobe.com
 * extras: centos.mirror.lstn.net
 * updates: centos.mirror.lstn.net
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:02
base 3566/3566
extras | 2.1 kB 00:00
extras/primary_db | 159 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 205 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libgcj.i386 0:4.1.2-51.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package Arch Version Repository Size
================================================================================
Installing:
 libgcj i386 4.1.2-51.el5 base 16 M

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
libgcj-4.1.2-51.el5.i386.rpm | 16 MB 00:39
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/share/man/man1/fastjar.1.gz from install of libgcj-4.1.2-51.el5.i386 conflicts with file from package libgcj-4.1.2-51.el5.x86_64
  file /usr/share/man/man1/grepjar.1.gz from install of libgcj-4.1.2-51.el5.i386 conflicts with file from package libgcj-4.1.2-51.el5.x86_64
(0013543)
toracat   
2011-10-14 19:51   
Your original post stated the command "yum install libgcj.i386 libgcj.x86_64" in the "How to reproduce" section. This worked fine.

Now, in your followup, the 64-bit version was already installed and an attempt to install the 32-bit version errored out. I can confirm this behavior/bug.
(0014188)
areeda   
2012-01-15 17:14   
I'm getting the same error on a new install from the 6.1 everything DVD.

yum update
then use the Add/Remove Software application to add a lot of useful stuff, I suspect it is the development bundle that produces this conflict.
(0014189)
toracat   
2012-01-15 17:38   
@areeda

If your issue is about CentOS-6, please file a new report under the "CentOS 6" category. Then that can be connected through the relationship section.