如何解决 yum安装出现This system is not registered with RHN

来源:互联网 发布:淘宝助理改宝贝品牌 编辑:程序博客网 时间:2024/05/13 14:24

[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
原创粉丝点击