# Is the 7.x Elasticsearch APT repository down?

**URL:** <https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071>\
**Category:** Elasticsearch\
**Created:** [October 10, 2019, 4:23pm UTC](https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071 "2019-10-10T16:23:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eype69](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@eype69](https://discuss.elastic.co/u/eype69)\
**Post date:** [October 10, 2019, 4:23pm UTC](https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071/1 "2019-10-10T16:23:55Z")

</div>

I am trying to install Elasticsearch from the APT repositories as per [Elasticsearch Reference [7.4]](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html) 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](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
```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 11, 2019, 12:09pm UTC](https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071/2 "2019-10-11T12:09:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eype69](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@eype69](https://discuss.elastic.co/u/eype69)\
**Post date:** [October 11, 2019, 1:33pm UTC](https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071/3 "2019-10-11T13:33:58Z")

</div>

That fixed it. Thank you.

---

<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:** [November 8, 2019, 1:34pm UTC](https://discuss.elastic.co/t/is-the-7-x-elasticsearch-apt-repository-down/203071/4 "2019-11-08T13:34:04Z")

</div>

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