centos8不能下软件的原因

文章目录

  • 问题
  • 解决方法

问题

Errors during downloading metadata for repository ‘epel’:

  • Status code: 404 for http://archives.fedoraproject.org/pub/archive/epel/8/Everything/x86_64/repodata/repomd.xml (IP: 38.145.60.24)
    Error: Failed to download metadata for repo ‘epel’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

解决方法

404错误,估计是请求的url后面没有该文件了,一级一级找,把正确url放到 /etc/yum.repos.d/epel.repo改掉就好了

你可能感兴趣的:(linux,linux,centos)