ElasticSearch 2.3 installation with apt fails 404

Hi there

It seems that the url from (current reference) for the debian repository is not working.

cat /etc/apt/sources.list.d/elasticsearch-2.3.list
deb http://packages.elastic.co/elasticsearch/2.3/debian stable main

aptitude update says:
W: Failed to fetch http://packages.elastic.co/elasticsearch/2.3/debian/dists/stable/main/binary-amd64/Packages: 404 Not Found [IP: 184.72.244.137 80]

Thanks for any help

Peter

I think there is a typo, it should be;

echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list

We removed specific repos for minor releases.

I've raised this - https://github.com/elastic/elasticsearch/issues/17423

(I'm travelling at the moment otherwise I would submit a PR!)

1 Like

Unable to update any of my packages with yum.

When I hardcode 2.3 instead of 2.x inside of my repo file I get the following:

http://packages.elastic.co/elasticsearch/2.3/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-2.3. Please verify its path and try again

The same thing applies.

Think we are also going back and forth on twitter.

What I'm trying to say is that the yum updates for all of my es products are showing no updates.

I have .repo files setup for the .x version of elasticsearch, logstash and kibana. This worked fine for the last release. Not sure what is causing this.

I need to upgrade specifically to 2.2.1 because that's the highest version one of my critical plugins currently supports. Does that mean I can no longer use apt-get for my install and update? I'm not a fan of installing by zip, I never trust that configurations will be preserved.

Disregard, it was just explained to me on a related github thread that the minor version can be specified during apt-get install. Thanks.