# Yum install 2.2 - repomd.xml not found

**URL:** <https://discuss.elastic.co/t/yum-install-2-2-repomd-xml-not-found/43803>\
**Category:** Elasticsearch\
**Created:** [March 8, 2016, 4:09pm UTC](https://discuss.elastic.co/t/yum-install-2-2-repomd-xml-not-found/43803 "2016-03-08T16:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Williams](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Tim\_Williams](https://discuss.elastic.co/u/Tim_Williams)\
**Post date:** [March 8, 2016, 4:09pm UTC](https://discuss.elastic.co/t/yum-install-2-2-repomd-xml-not-found/43803/1 "2016-03-08T16:09:47Z")

</div>

Hi All,  
I'm trying to upgrade from 1.7 to 2.2 with the puppet module. It lays down the new elasticsearch.repo file but when it goes to retrieve the metadata I get a 404 not found. The same happens in the browser as well from this url:

[http://packages.elastic.co/elasticsearch/2.2/centos/repodata/repomd.xml:](http://packages.elastic.co/elasticsearch/2.2/centos/repodata/repomd.xml:) [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"  
Trying other mirror.  
Error: Cannot retrieve repository metadata (repomd.xml) for repository: elasticsearch. Please verify its path and try again

Substituting 1.7 for 2.2 does retrieve the metadata file. Any ideas?

Thanks,  
--tim

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:10pm UTC](https://discuss.elastic.co/t/yum-install-2-2-repomd-xml-not-found/43803/2 "2017-07-05T23:10:17Z")

</div>


