试图安装collectd,但由于某种原因它声称没有安装
python:
yum install collectd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package collectd.i386 0:4.10.0-4.el5 set to be updated --> Processing Dependency: libxml2.so.2 for package: collectd --> Processing Dependency: libcurl.so.3 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.0-4.el5 set to be updated --> Running transaction check ---> Package collectd.i386 0:4.10.0-4.el5 set to be updated --> Processing Dependency: libpython2.4.so.1.0 for package: collectd ---> Package curl.i386 0:7.15.5-9.el5 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 set to be updated --> Finished Dependency Resolution collectd-4.10.0-4.el5.i386 from epel has depsolving problems --> Missing Dependency: libpython2.4.so.1.0 is needed by package collectd-4.10.0-4.el5.i386 (epel) Error: Missing Dependency: libpython2.4.so.1.0 is needed by package collectd-4.10.0-4.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 [root@vitlinpup001 templates]# find / -iname "libpython2.4.so.1.0" -type f /usr/lib64/libpython2.4.so.1.0 [root@vitlinpup001 templates]# file /usr/lib64/libpython2.4.so.1.0 /usr/lib64/libpython2.4.so.1.0: ELF 64-bit LSB shared object,AMD x86-64,version 1 (SYSV),stripped [root@vitlinpup001 templates]# ls -lah /usr/lib64/libpython2.4.so.1.0 -r-xr-xr-x 1 root root 1.2M Sep 3 2009 /usr/lib64/libpython2.4.so.1.0 [root@vitlinpup001 templates]# yum info python | grep installed Repo : installed
我试图运行package-cleanup –problems,package-cleanup –dupes和rpm -Va –nofiles –nodigest.
对于我来说,这是关于缺失依赖性的第一个计时器,所以我对如何继续进行了一点迷失.
你误读了输出.它说缺少32位的Python库,这是正确的.请尝试安装collectd.x86_64.
原文链接:https://www.f2er.com/bash/385722.html