解决Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again错误

将epel源文件中的https转为http。

epel也正好支持http+https两种方式。

sed -i 's#https://#http://#g' /etc/yum.repos.d/epel*repo

问题解决了。

本文为原创文章,转载请注明出处。

原文链接:http://www.quartlog.com/post/解决cannot-retrieve-metalink-for-repository-epel-x86_64-please-verify-its-path-and-try-again错误

评论(1)

  • 风 风轻云淡 2026-09-14

    写得很清楚,容易上手。

验证码