[root@localhost ~]# yum install libtool
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do
解決方案:
1、進入/etc/yum.repos.d/目錄。
在命令行輸入:wget http://www.linuxidc.com/files/2011/05/06/CentOS-Base.repo
2、ls 一下,會看到一個文件名為CentOS-Base.repo的文件。
3、將原來的文件rhel-debuginfo.repo改名為rhel-debuginfo.repo.bak
4、將CentOS-Base.repo改名為rhel-debuginfo.repo這時
這時再運行yum install libtool
OK。