[CentOS] yum "transaction check error"

Bill Comisky bcomisky at pobox.com
Wed Nov 1 19:17:51 UTC 2006


I need help resolving a "transaction check error" when trying to 'yum install 
gtk2-devel' on a CentOS 4.2 x86_64 system.  I have a feeling this is due to 
having both x86_64 and i386 libs?

# yum list installed xorg-x11-libs
Installed Packages
xorg-x11-libs.x86_64                     6.8.2-1.EL.13.20       installed
xorg-x11-libs.i386                       6.8.2-1.EL.13.20       installed

Is there any way around this?  Do I need to erase xorg-x11-libs.i386 (and the 
gobs of packages that depend on it)?

Below is full output from yum install command, thanks!

# yum install gtk2-devel
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
-->  Populating transaction set with selected packages. Please wait.
---> Package gtk2-devel.x86_64 0:2.4.13-19 set to be updated
-->  Running transaction check
-->  Processing Dependency: atk-devel >= 1.6.0-1 for package: gtk2-devel
-->  Processing Dependency: pango-devel >= 1.4.0-1 for package: gtk2-devel
-->  Processing Dependency: XFree86-devel for package: gtk2-devel
-->  Restarting Dependency Resolution with new changes.
-->  Populating transaction set with selected packages. Please wait.
---> Package pango-devel.x86_64 0:1.6.0-9 set to be updated
---> Package xorg-x11-devel.x86_64 0:6.8.2-1.EL.13.37.2 set to be updated
---> Package atk-devel.x86_64 0:1.8.0-2 set to be updated
-->  Running transaction check
-->  Processing Dependency: fontconfig-devel >= 2.1 for package: xorg-x11-devel
-->  Processing Dependency: xorg-x11-libs = 6.8.2-1.EL.13.37.2 for package: 
-->  xorg-x11-devel
-->  Processing Dependency: fontconfig-devel >= 2.0 for package: pango-devel
-->  Processing Dependency: freetype-devel >= 2.1.3-3 for package: pango-devel
-->  Restarting Dependency Resolution with new changes.
-->  Populating transaction set with selected packages. Please wait.
---> Package fontconfig-devel.x86_64 0:2.2.3-7.centos4 set to be updated
---> Package freetype-devel.x86_64 0:2.1.9-4.el4 set to be updated
---> Package xorg-x11-libs.x86_64 0:6.8.2-1.EL.13.37.2 set to be updated
-->  Running transaction check
-->  Processing Dependency: freetype = 2.1.9-4.el4 for package: freetype-devel
-->  Restarting Dependency Resolution with new changes.
-->  Populating transaction set with selected packages. Please wait.
---> Package freetype.x86_64 0:2.1.9-4.el4 set to be updated
-->  Running transaction check

Dependencies Resolved

=============================================================================
  Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
  gtk2-devel              x86_64     2.4.13-19        base              2.1 M
Installing for dependencies:
   atk-devel               x86_64     1.8.0-2          base               86 k
   fontconfig-devel        x86_64     2.2.3-7.centos4  base              246 k
   freetype-devel          x86_64     2.1.9-4.el4      base              569 k
   pango-devel             x86_64     1.6.0-9          base              173 k
   xorg-x11-devel          x86_64     6.8.2-1.EL.13.37.2  update            5.5
   M
Updating for dependencies:
   freetype                x86_64     2.1.9-4.el4      base              789 k
   xorg-x11-libs           x86_64     6.8.2-1.EL.13.37.2  update            2.9
   M

Transaction Summary
=============================================================================
Install      6 Package(s)
Update       2 Package(s)
Remove       0 Package(s)
Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test

Transaction Check Error:   file /usr/X11R6/lib/X11/locale/compose.dir from 
install of xorg-x11-libs-6.8.2-1.EL.13.37.2 conflicts with file from package 
xorg-x11-libs-6.8.2-1.EL.13.20
    file /usr/X11R6/lib/X11/locale/locale.alias from install of
    xorg-x11-libs-6.8.2-1.EL.13.37.2 conflicts with file from package
    xorg-x11-libs-6.8.2-1.EL.13.20
    file /usr/X11R6/lib/X11/locale/locale.dir from install of
    xorg-x11-libs-6.8.2-1.EL.13.37.2 conflicts with file from package
    xorg-x11-libs-6.8.2-1.EL.13.20





More information about the CentOS mailing list