解决RedHat自带yum不能用的问题


[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.bkjia.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。

相关内容