yum安装出现如下报错的解决办法 Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉 sed -i ‘3s/^#//‘ /etc/yum.repos.d/epel.repo sed -i ‘4s/^/#/‘ /etc/yum.repos.d/epel.repo
时间: 2024-10-12 06:33:10