Is the 7.x Elasticsearch APT repository down?

I am trying to install Elasticsearch from the APT repositories as per Elasticsearch Reference [7.4] and I am getting an error. See below for the commands issued. Are the Elastic APT repositories up at the moment because I am getting a "Not Found" from https://artifacts.elastic.co/packages/7.x/apt ?

# wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
OK
# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
Need to get 1692 B of archives.
After this operation, 153 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.12 [1692 B]
Fetched 1692 B in 0s (4570 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 40911 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.12_all.deb ...
Unpacking apt-transport-https (1.6.12) ...
Setting up apt-transport-https (1.6.12) ...
# echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list
deb https://artifacts.elastic.co/packages/7.x/apt stable main
# apt-get -y install elasticsearch
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package elasticsearch

The snippet does not show, that you ran apt-get update after adding the elastic APT repository. Can you do that and retry?

That fixed it. Thank you.

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