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
如果你曾歌颂黎明,那么也请你拥抱黑夜