`

Linux安装扩展源epel并更新证书

阅读更多

今天更新linux上的软件hddtemp发现一台centos6.4无法下载,报错如下:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

网上查找各种方法都不好用,最后在百度知道找到了正确解决办法:

https://zhidao.baidu.com/question/940110168806367212.html

 

更新CA证书就可以,不过在此同时需要临时禁用epel源并更新就可以了,命令如下:
yum --disablerepo=epel -y update ca-certificates

运行过后,一切好使。

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics