解决redhat自带yum不能用的问题 (借用CentOS)

来源:互联网 发布:js 禁用y轴滑动 编辑:程序博客网 时间:2024/05/16 06:46
[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://docs.linuxtone.org/soft/lemp/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

0 0
原创粉丝点击