问题
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改掉就好了