CENTOS 6.6 "Errno -1 repomd.xml does not match metalink for updates" when trying to use the yum command to install openssl

Platform: CentOS 6.6 (Final) Release
When I try yum install openssl, I get this error:

epel 4 kB 00:00
http://mirror.symnds.com/distributions/fedora-epel/6/x86_64/repodata/repomd.xml : [Errno -1] repomd.xml does not match metalink for epel Try a different mirror.

I tried: yum clean all , yum info kernel .

But I still see a similar error

epel | 4.4 kB 00:00
http://mirror.symnds.com/distributions/fedora-epel/6/x86_64/repodata/repomd.xml : [Errno -1] repomd.xml does not match metalink for epel Try a different mirror.

It seems like I cannot use the yum command to install anything. I also used yum clean all , then yum makecache , but I still see the same problem.

Why I see this error:

[Errno -1] repomd.xml does not match metalink for epel

And how to fix it?

Solution: Uncomment baseurl (or add baseurl if it does not exist) and comment out the list of mirrors. This is my workaround in /etc/yum.repo.d/epel.repo:

 [epel] name=Extra Packages for Enterprise Linux 6 - $basearch enabled=1 failovermethod=priority gpgcheck=1 gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch sslverify=true 
+6
source share
1 answer

I just stumbled upon the same thing. Found elsewhere on the network that this may mean that mirrors are being re-synchronized.

I went around it by editing /etc/yum.repos.d/epel.repo and uncommenting the baseurl lines and commenting out the mirrorlist lines.

You probably want to cancel this later.

+17
source

Source: https://habr.com/ru/post/989434/


All Articles