亲测—yum安装出现This system is not registered with RHN

[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

OK。

原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/tech/opensource/186637.html

(0)
上一篇 2021年11月4日 12:30
下一篇 2021年11月4日 12:30

相关推荐

发表回复

登录后才能评论