1. 程式人生 > >【解決】Centos 6.2 yum update報錯:libotf.so.0

【解決】Centos 6.2 yum update報錯:libotf.so.0

當在Centos6.2執行yum update時,報錯如下:


Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package openmpi.x86_64 0:1.5.3-3.el6 will be updated
--> Processing Dependency: libotf.so.0()(64bit) for package: 1:emacs-23.1-21.el6_2.3.x86_64
Package openmpi-psm is obsoleted by openmpi, but obsoleting package does not provide for requirements

---> Package openmpi.x86_64 0:1.5.4-1.el6 will be an update
--> Finished Dependency Resolution
Error: Package: 1:emacs-23.1-21.el6_2.3.x86_64 (@updates)
           Requires: libotf.so.0()(64bit)
           Removing: openmpi-1.5.3-3.el6.x86_64 (@anaconda-CentOS-201112091719.x86_64/6.2)
               libotf.so.0()(64bit)

           Updated By: openmpi-1.5.4-1.el6.x86_64 (base)
               Not found
           Available: libotf-0.9.9-3.1.el6.x86_64 (base)
               libotf.so.0()(64bit)
           Available: openmpi-psm-1.5.3-3.el6.x86_64 (base)
               libotf.so.0()(64bit)
 You could try using --skip-broken to work around the problem

 You could try running: rpm -Va --nofiles --nodigest

事實上是openmpi的錯誤,解決辦法:

yum install libotf