亚马逊网络服务EC2实例红帽百胜不起作用亚马逊、网络服务、实例、不起作用

2023-09-11 09:27:36 作者:艾特你Z~

在建立一个新的EC2实例,我试图用yum安装VIM ...我得到这个错误:

After setting up a fresh ec2 instance, I tried to install vim using yum... I got this error:

错误:无法找到RHNS CA文件:在/ usr /共享/ RHN / RHN-ORG-TRUSTED-SSL-CERT

ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

推荐答案

在文件夹中的/ usr /共享/ RHN /的证书文件名为错了... 你可以简单地使证书的副本,使用正确的名称

In the folder /usr/share/rhn/ the cert file is named wrong... you can simply make a copy of the cert with the correct name

(作为root)

cd /usr/share/rhn/
cp RHNS-CA-CERT RHN-ORG-TRUSTED-SSL-CERT