centos下安装完EPEL源然后更新一下yum缓存如果发现这样的错误:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
这就表明你需要更新CA证书了,那么只需要更新CA证书就可以,不过在此同时需要临时禁用epel源并更新就可以了,命令如下:
1 | yum --disablerepo=epel -y update ca-certificates |
centos下安装完EPEL源然后更新一下yum缓存如果发现这样的错误:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
这就表明你需要更新CA证书了,那么只需要更新CA证书就可以,不过在此同时需要临时禁用epel源并更新就可以了,命令如下:
1 | yum --disablerepo=epel -y update ca-certificates |
😎 完美解决了我的问题
恭喜恭喜
我的开始没解决,后来发现是系统时间不对,改对系统时间就OK了
Thanks a lot for sharing!