yum报错: Cannot retrieve metalink for repository: fedora. Please verify its path and try again

x33g5p2x  于2021-10-10 转载在 其他  
字(0.3k)|赞(0)|评价(0)|浏览(331)

使用yum报错:
Cannot retrieve metalink for repository: fedora. Please verify its path and try again
或者是
Cannot retrieve metalink for repository: epel. Please verify its path and try again

无法为存储库检索金属链接:epel。 请验证其路径并重试

解决方法
执行如下命令:

su -c "sed -i 's|^#baseurl|baseurl| ; s|^mirrorlist|#mirrorlist|' /etc/yum.repos.d/*"

相关文章

微信公众号

最新文章

更多