Metadata file does not match checksum after yum install

I'm trying to install elasticsearch using YUM repo on centos. I configured the yum repo as described here :

but after the configuration I get :

 [Errno -1] Metadata file does not match checksum

I tried :

yum clean all
yum clean metadata
rm -rf /var/cache/yum/*

but the problem persists

this command work too and I get an XML

wget 

tried the same on centos machine in a different network and it worked the first try, this is the reason I guess it somehow related to network \ certificates.

any directions will be appreciated

1 Answer

The only thing solved the proxy problem I had is :

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like