linux - CENTOS 6.6 "Errno -1 repomd.xml does not match metalink for updates " when trying to use yum command to install openssl -
platform: centos release 6.6 (final)
when trying yum install openssl, error:
epel 4 kb 00:00
http://mirror.symnds.com/distributions/fedora-epel/6/x86_64/repodata/repomd.xml: [errno -1] repomd.xml not match metalink epel trying other mirror.
i have tried : yum clean all
, yum info kernel
.
but still see 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 not match metalink epel trying other mirror.
it looks cannot use yum command install anything. have used yum clean all
yum makecache
still see same problem.
why see error:
[errno -1] repomd.xml not match metalink epel
and how fix it?
solution: uncomment baseurl(or add baseurl if not exist) , comment out mirrorlist. temporary workaround in /etc/yum.repo.d/epel.repo:
[epel] name=extra packages 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
i running same thing. found elsewhere on net might mean mirrors resynchronizing.
i got around editing /etc/yum.repos.d/epel.repo
, uncommenting baseurl
lines , commenting out mirrorlist
lines.
you'll want undo later.
Comments
Post a Comment