# ElasticSearch 7 APT repository - hash sum mismatch

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365>\
**Category:** Elasticsearch\
**Created:** [April 3, 2020, 8:28am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365 "2020-04-03T08:28:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JYG\_NAOS](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JYG\_NAOS](https://discuss.elastic.co/u/JYG_NAOS)\
**Post date:** [April 3, 2020, 8:28am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/1 "2020-04-03T08:28:05Z")

</div>

Hello,

Since 31th March 2020, install from [https://artifacts.elastic.co/packages/7.x/apt](https://artifacts.elastic.co/packages/7.x/apt) stable/main amd64 elasticsearch amd64 7.6.2 doesn't work because of hash sum mismatch.  
Problem is for multiple DEB packets. I tested 'elasticsearch' and 'kibana' on fresh Debian 10 install.

Example for 'elasticsearch' :  
Hashes of expected file:

- SHA512:5a86d49bc184bea4f73380bc95633d60439af6d4152605c12f5b1edb251593e1fe22af91595498708bc66890b4b6dcd283397736a2ecfce32ccbbbb3ee38ce19
- SHA256:6ef2b0ed7844ed70d739216570b9479642b962c0e042ce24a02af0e3f5f6ced8
- SHA1:af0d8f036640c12faad0f1b99a9c36fee22b2e78 [weak]
- MD5Sum:91eac9aa06272ab6a6cfbf2e14ccea6c [weak]
- Filesize:296520940 [weak]  
Hashes of received file:
- SHA512:83c90f3bacb4e4961c7c5f2fa95f6733b510bd7da3141ed5c71c5a2ff0bb533e2e5eb4b2e8772638c25d32dda0b30b13515ba961959bd8dd91333e88b71e75bd
- SHA256:97ba4c1ec3936e9b55203e52ed711c2764641cf69893d40d41e4c8d42a0fe44c
- SHA1:c80efc831cc361c551b76480c14891c385123b3d [weak]
- MD5Sum:dd0b38cf6fe7f1e99864cf4f23fba577 [weak]
- Filesize:296520940 [weak]  
Last modification reported: Tue, 31 Mar 2020 15:29:22 +0000

I tried multiple update from apt but hash are always the same.  
Is there a problem with repository ?

Thanks in advance for your help.

---

<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:** [April 3, 2020, 2:54pm UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/2 "2020-04-03T14:54:49Z")

</div>

Hey,

I just tested under a debian 10/buster VM and it worked for me. Can you give me any more tips for debugging?

I just followed the manual download steps at [https://www.elastic.co/guide/en/elasticsearch/reference/7.6/deb.html#install-deb](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/deb.html#install-deb)

and comparing the checksums turned out fine.

Can you do that on your local system as well?

Thanks!

--Alex

---

<div class="post-metadata">

**Author:** ![JYG\_NAOS](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JYG\_NAOS](https://discuss.elastic.co/u/JYG_NAOS)\
**Post date:** [April 7, 2020, 8:47am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/3 "2020-04-07T08:47:49Z")

</div>

Hello,

Thanks for your answer. I can't test for now but I will as soon as possible.  
I can't give you more tips because, to be honest, I don't understand why I had sum mismatch. I followed every steps (from repository or manual install) but nothing worked.

Thanks again.

---

<div class="post-metadata">

**Author:** ![fredyfredburger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fredyfredburger/32/47627_2.png) [@fredyfredburger](https://discuss.elastic.co/u/fredyfredburger)\
**Post date:** [April 17, 2020, 5:07pm UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/4 "2020-04-17T17:07:04Z")

</div>

I'm having the same issue. Currently trying to download elasticsearch on Ubuntu inside a VirtualBox VM.

---

<div class="post-metadata">

**Author:** ![fredyfredburger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fredyfredburger/32/47627_2.png) [@fredyfredburger](https://discuss.elastic.co/u/fredyfredburger)\
**Post date:** [April 17, 2020, 5:14pm UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/5 "2020-04-17T17:14:14Z")

</div>

When I try the apt-get standard process ([https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html)) it always returns the hash mismatch error, for which I tried clearing the content from the lists directory:  
apt-get clear  
sudo rm -rf /var/lib/apt/lists/\*  
apt-get clear  
apt-get update  
apt-get upgrade  
-retried -\> same error  
Also tried re-installing my VM from scratch: same issue.  
Also tried disabling firewall both on my PC and on the VM: same issue.  
Manual deb install (([https://www.elastic.co/guide/en/elasticsearch/reference/7.6/deb.html#install-deb](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/deb.html#install-deb)) returns the following:  
dpkg: error processing archive elasticsearch-7.5.2-amd64.deb (--install):  
corrupted filesystem tarfile - corrupted package archive  
dpkg-deb: error: paste subprocess was killed by signal

I saw somewhere that this may be a java issue; so I installed default java package ... retried ... same issue.

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/f/e/fe2cd83d2d01e88fa95714e745a4002656b036db.jpeg)

---

<div class="post-metadata">

**Author:** ![fredyfredburger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fredyfredburger/32/47627_2.png) [@fredyfredburger](https://discuss.elastic.co/u/fredyfredburger)\
**Post date:** [April 17, 2020, 6:41pm UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/6 "2020-04-17T18:41:02Z")

</div>

I've also tried using gdebi, I get dpkg: error processing archive elasticsearch-7.6.2-amd64.deb (--install):  
dpkg-deb --fsys-tarfile subprocess returned error exit status 2

---

<div class="post-metadata">

**Author:** ![JYG\_NAOS](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JYG\_NAOS](https://discuss.elastic.co/u/JYG_NAOS)\
**Post date:** [April 21, 2020, 7:21am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/7 "2020-04-21T07:21:58Z")

</div>

Hello,

I tried again and still facing same issue (Debian 10 VirtualBox 6.1 VM).  
Same problem described by fredyfredburger.

Impossible to install elasticsearch or kibana for me.

---

<div class="post-metadata">

**Author:** ![jlancelot2007](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jlancelot2007](https://discuss.elastic.co/u/jlancelot2007)\
**Post date:** [April 28, 2020, 8:56am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/8 "2020-04-28T08:56:34Z")

</div>

I am having the same issue when trying to follow along with the video course on Manning Publications Elasticsearch 7 and Elastic Stack by Frank Kane

---

<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 26, 2020, 8:56am UTC](https://discuss.elastic.co/t/elasticsearch-7-apt-repository-hash-sum-mismatch/226365/9 "2020-05-26T08:56:38Z")

</div>

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