如何解決 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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM