Linux基础知识:CentOS无法使用EPEL源

树叶云

问题的产生与解决

epel | 4.3 kB 00:00
http://mirror.math.princeton.edu/pub/epel/6/i386/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
epel | 4.3 kB 00:00
https://mirror.csclub.uwaterloo.ca/Fedora/epel/6/i386/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
https://pubmirror1.math.uh.edu/fedora-buffet/epel/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 – “couldn’t connect to host”
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

最后的结果告诉我们,遇到问题的时候,还是需要多思考,一味地在网上寻找答案,有时候碰巧遇到一样的时候,一下就解决了,但是当问题不相同时,更多的就是在浪费时间,只有针对性的寻找答案才是王道.

其他资料-*.repo参数含义
name repo的描述
baseurl,mirrorlist 路径,可以为本地或者远程地址
enabled 是否可用0/1
gpgcheck 是否进行gpg检查0/1
gpgkey** rpm包的验证文件

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/212171.html<

(0)
运维的头像运维
上一篇2025-04-10 18:00
下一篇 2025-04-10 18:01

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注