解决CentOS 6.2 yum update报错:libotf.so.0


当在CentOS 6.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

相关内容