Neo4j installation error

Hi guys, my name is João and I would like a support, I live in Brazil and I'm still learning English, so forgive me for any mistakes.

I am now starting to work with Neo4j and I am getting some errors when installing. Error below:
Err:2 https://debian.neo4j.com stable/4.2 amd64 cypher-shell all 1:4.2.4
Hash Sum incorreto
Hashes of expected file:

  • SHA256:2837da52bbf2809e8f0cf175fb03a8760c7c9d35ad5c6d5df568b71847ef8ce4
  • SHA1:8b711deb467fac3c4810bcea47a56e4390d512f2 [weak]
  • MD5Sum:59ea11379a5d26d1a93711b960fc5ce9 [weak]
  • Filesize:19311420 [weak]
    Hashes of received file:
  • SHA256:b18ecee4e48e9f2d8a350f24a9cce70f7c37b6ee393cdb1a50d4d464283eab52
  • SHA1:857f6734beb67e0e66af988ff4529fa26698f4bc [weak]
  • MD5Sum:3d2e6afee89b51573a3f7a2304b809eb [weak]
  • Filesize:19311420 [weak]
    Last modification reported: Thu, 18 Mar 2021 13:40:45 +0000
    Obter:3 https://debian.neo4j.com stable/4.2 amd64 neo4j all 1:4.2.4 [95,7 MB]
    Err:3 https://debian.neo4j.com stable/4.2 amd64 neo4j all 1:4.2.4
    GnuTLS recv error (-24): Decryption has failed.
    Baixados 19,4 MB em 10s (1.773 kB/s)
    E: Falhou ao buscar https://debian.neo4j.com/pool/4.2/c/cypher-shell/cypher-shell_4.2.4_all.deb Hash Sum incorreto
    Hashes of expected file:
    - SHA256:2837da52bbf2809e8f0cf175fb03a8760c7c9d35ad5c6d5df568b71847ef8ce4
    - SHA1:8b711deb467fac3c4810bcea47a56e4390d512f2 [weak]
    - MD5Sum:59ea11379a5d26d1a93711b960fc5ce9 [weak]
    - Filesize:19311420 [weak]
    Hashes of received file:
    - SHA256:b18ecee4e48e9f2d8a350f24a9cce70f7c37b6ee393cdb1a50d4d464283eab52
    - SHA1:857f6734beb67e0e66af988ff4529fa26698f4bc [weak]
    - MD5Sum:3d2e6afee89b51573a3f7a2304b809eb [weak]
    - Filesize:19311420 [weak]
    Last modification reported: Thu, 18 Mar 2021 13:40:45 +0000
    E: Falhou ao buscar https://debian.neo4j.com/pool/4.2/n/neo4j/neo4j_4.2.4_all.deb GnuTLS recv error (-24): Decryption has failed.
    E: Impossível buscar alguns arquivos, talvez executar apt-get update ou tentar com --fix-missing?

OS version: Linux Debian 4.9.0-7-amd64 #1 SMP Debian 4.9.110-1 (2018-07-05) x86_64 GNU/Linux

I already cleared the cache of all apt directories and nothing worked. Can someone help me?

2 REPLIES 2

omerule
Graph Buddy

Hello Juaum,
If I download the the file https://debian.neo4j.com/pool/4.2/c/cypher-shell/cypher-shell_4.2.4_all.deb directly and do
$ sha256sum cypher-shell_4.2.4_all.deb
2837da52bbf2809e8f0cf175fb03a8760c7c9d35ad5c6d5df568b71847ef8ce4 cypher-shell_4.2.4_all.deb
This is the hash result that Debian is expecting (the Hash is to check if the file is the "same" on your computer as on the server you downloaded it from).
There can be some problems when a Hash result is different.

What steps did you take to install Neo4j on your Debian system?

If there is something wrong with your computer then there can also be a different Hash result.

If it is possible You could use a other computer to calculate the Hash sha256 value of https://debian.neo4j.com/pool/4.2/c/cypher-shell/cypher-shell_4.2.4_all.deb
the result should be:
2837da52bbf2809e8f0cf175fb03a8760c7c9d35ad5c6d5df568b71847ef8ce4

Yours Kindly
Omer

Hey @omerule!

I managed to find out what it was, in reality it was not an error of the repository, but of the server virtualizer. I'm virtualizing Linux on virtualBox, but hyper-v is influencing reposito in some way. Basically I executed the command below and returned to its operation.

Command powershell:
bcdedit /set hypervisorlaunchtype off

thank you for your attention anyway

Att,