Linux执行YUM命令报错解决方案
Loaded plugins: rhnplugin,security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package subversion available. Nothing to do
红帽中出现"This system is not registered with RHN"这个的原因是因为红帽中没有注册RHN。 解决办法:(假定你已安装yum,且网络畅通)更改yum的源, [[email?protected] yum.repos.d]# ls /etc/yum.repos.d/ 进入/etc/yum.repos.d/目录,终端中输入 wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo ? 再看目下有什么文件: [[email?protected] yum.repos.d]# ls /etc/yum.repos.d/ 即可在此目录下得到CentOS-Base.repo文件,这是centos的源文件,然后测试看看yum是否可以使用了, (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |