centos Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
非原创 hiJerry 发表于:2021-12-29 21:16:37
  阅读 :96   收藏   编辑
错误信息
 http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
解决办法

执行下面的命令

vim /etc/yum.repos.d/epel.repo
enabled=1 改成 enabled=0