Hide Forgot
Description of problem: Install for collectd doesn't properly recognize 64-bit systems, it tries to install the .i386 version instead. This leads to complaints of missing i386 dependencies. To reproduce: Started with a fresh CentOS 5.6 64-bit install. Added 64-bit EPEL repository. Updated system with yum update, then: # yum -y install collectd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.usf.edu * epel: mirror.vcu.edu * extras: mirrors.igsobe.com * updates: mirrors.finalasp.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package collectd.i386 0:4.10.2-1.el5 set to be updated --> Processing Dependency: libcurl.so.3 for package: collectd --> Processing Dependency: libxml2.so.2 for package: collectd --> Processing Dependency: libpython2.4.so.1.0 for package: collectd --> Processing Dependency: libidn.so.11 for package: collectd ---> Package collectd.x86_64 0:4.10.2-1.el5 set to be updated --> Running transaction check ---> Package collectd.i386 0:4.10.2-1.el5 set to be updated --> Processing Dependency: libpython2.4.so.1.0 for package: collectd ---> Package curl.i386 0:7.15.5-9.el5_6.2 set to be updated ---> Package libidn.i386 0:0.6.5-1.1 set to be updated ---> Package libxml2.i386 0:2.6.26-2.1.2.8.el5_5.1 set to be updated --> Finished Dependency Resolution collectd-4.10.2-1.el5.i386 from epel has depsolving problems --> Missing Dependency: libpython2.4.so.1.0 is needed by package collectd-4.10.2-1.el5.i386 (epel) Error: Missing Dependency: libpython2.4.so.1.0 is needed by package collectd-4.10.2-1.el5.i386 (epel) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest Note it looked for collectd.i386. # locate libpython /usr/lib64/libpython2.4.so /usr/lib64/libpython2.4.so.1.0 However if you explicitly specify the 64-bit version of collectd, all is well: # yum -y install collectd.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.usf.edu * epel: mirror.vcu.edu * extras: mirrors.igsobe.com * updates: mirrors.finalasp.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package collectd.x86_64 0:4.10.2-1.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================== Package Arch Version Repository Size ============================================================== Installing: collectd x86_64 4.10.2-1.el5 epel 506 k Transaction Summary ============================================================== Install 1 Package(s) Upgrade 0 Package(s) Total download size: 506 k Downloading Packages: collectd-4.10.2-1.el5.x86_64.rpm | 506 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : collectd 1/1 Installed: collectd.x86_64 0:4.10.2-1.el5 Complete!
This should be provided by python-libs.i386... do you have any excludes in /etc/yum.conf or in repo files? Note that this behavior is the default in rhel5... it will try and install both 32bit and 64bit versions if you don't specify.