# Error installing Elasticsearch 7 - Failed dependencies

**URL:** https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551
**Category:** Elasticsearch
**Created:** [April 19, 2019, 1:25am UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551 "2019-04-19T01:25:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AndyB](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@AndyB](https://discuss.elastic.co/u/AndyB)
#### Post date: [April 19, 2019, 1:25am UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551/1 "2019-04-19T01:25:43Z")

</div>

On my dedicated server I currently have Elasticsearch 6 installed. I would like to upgrade to Elasticsearch 7. I'm using the "Download and install the RPM Manually" method. Here's the link that explains the steps:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html)

Here are my terminal steps:

```
[root@server ~]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.0-x86_64.rpm
--2019-04-18 17:19:20-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.0-x86_64.rpm
Resolving artifacts.elastic.co (artifacts.elastic.co)... 2a04:4e42:2e::734, 151.101.198.222
Connecting to artifacts.elastic.co (artifacts.elastic.co)|2a04:4e42:2e::734|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 346827255 (331M) [application/octet-stream]
Saving to: ‘elasticsearch-7.0.0-x86_64.rpm’

100%[=============================================================================================================================================>] 346,827,255 106MB/s in 3.3s   

2019-04-18 17:19:43 (102 MB/s) - ‘elasticsearch-7.0.0-x86_64.rpm’ saved [346827255/346827255]

[root@server ~]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.0-x86_64.rpm.sha512
--2019-04-18 17:20:01-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.0-x86_64.rpm.sha512
Resolving artifacts.elastic.co (artifacts.elastic.co)... 2a04:4e42:2e::734, 151.101.198.222
Connecting to artifacts.elastic.co (artifacts.elastic.co)|2a04:4e42:2e::734|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 160 [application/octet-stream]
Saving to: ‘elasticsearch-7.0.0-x86_64.rpm.sha512’

100%[=============================================================================================================================================>] 160 --.-K/s in 0s      

2019-04-18 17:20:01 (22.7 MB/s) - ‘elasticsearch-7.0.0-x86_64.rpm.sha512’ saved [160/160]

[root@server ~]# shasum -a 512 -c elasticsearch-7.0.0-x86_64.rpm.sha512
elasticsearch-7.0.0-x86_64.rpm: OK
[root@server ~]# sudo rpm --install elasticsearch-7.0.0-x86_64.rpm
warning: elasticsearch-7.0.0-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
error: Failed dependencies:
	elasticsearch < 7.0.0 is obsoleted by elasticsearch-0:7.0.0-1.x86_64

```

Here are my server specifications:

Centos: 7.6

Java:  
openjdk version "1.8.0\_201"  
OpenJDK Runtime Environment (build 1.8.0\_201-b09)  
OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 19, 2019, 3:25am UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551/2 "2019-04-19T03:25:13Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them 🙂

---

<div class="post-metadata">

### Author: ![AndyB](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@AndyB](https://discuss.elastic.co/u/AndyB)
#### Post date: [April 19, 2019, 7:12pm UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551/3 "2019-04-19T19:12:43Z")

</div>

I was able to get the answer on stackoverflow.

[https://stackoverflow.com/questions/55764074/error-installing-elasticsearch-7-failed-dependencies](https://stackoverflow.com/questions/55764074/error-installing-elasticsearch-7-failed-dependencies)

---

<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: [May 17, 2019, 7:12pm UTC](https://discuss.elastic.co/t/error-installing-elasticsearch-7-failed-dependencies/177551/4 "2019-05-17T19:12:45Z")

</div>

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