What to do if the yum command stops working due to a metalink error
When I type yum repolist all etc., I get the following error.
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
Because I can't connect to the epel repository with metalink Uncomment the baseurl in the following file Comment out the metalink settings
bash:/etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
#metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
[Epel-debuginfo] and [epel-source] have similar settings, so modify them in the same way.
I got this error after initializing the server, so the certificate related settings affected It's possible, but now yum works.
Recommended Posts