Unable to install specific version of Elasticsearch using apt-get Repository

Hi

I have been following the steps for installation of Elasticsearch as given.
However, when using apt-get to install a specific version of Elasticsearch, it gives an error.

Steps Used:-

  1. wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch |
    sudo apt-key add -
  2. sudo apt-get install apt-transport-https
  3. echo "deb https://artifacts.elastic.co/packages/5.x/apt
    stable main" |
    sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list

Now let's say I need to install Elasticsearch 5.1.1 then using the following command:

  1. sudo apt-get update && sudo apt-get install elasticsearch=5.1.1

It gives an error that not found.

It is an issue which can be tracked at:-

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.