CentOS下很多軟件的安裝需要通過yum來完成,可是CentOS6.2在升級yum的時候報錯,提示libotf.so.0,很多人遇到這種情況就不知如何處理了,下面小編就給大家介紹下CentOS 6.2 yum update提示libotf.so.0的解決方法。
報錯如下:
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
上面就是CentOS 6.2升級yum報錯libotf.so.0的解決方法,你是否遇到了相同的yum update問題呢?不妨試試本文介紹的方法解決吧。