Can't install neo4j

When installing neo4j, an error happened.

My environment is Ubuntu 18.04 LTS on GCE.

Command is below. (Debian - Operations Manual)

wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
sudo apt-get update

Error massage is below.

W: GPG error: http://debian.neo4j.org/repo stable/ Release: The following signatures were invalid: BADSIG 26C95CF201182252 Neo Technology Admins <admins@neotechnology.com>
E: The repository 'http://debian.neo4j.org/repo stable/ Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/neo4j.list:1 and /etc/apt/sources.list.d/neo4j.list:2
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/neo4j.list:1 and /etc/apt/sources.list.d/neo4j.list:2

What should I do?

The certificate was expired. This should have been fixed meanwhile, maybe it takes some time to propagate.

Sorry for the inconvenince there, the key was indeed expired. The key is now updated.
You can redo:

wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -

or to update the apt keys list from the keyserver:

sudo apt-key adv --recv-keys --keyserver keys.gnupg.net D37F5F19 01182252

1 Like

I succeeded installing neo4j.
Thank you so much!

1 Like

Hi Neo4j,
Looks like the certificate has expired again (March 2023). Can you kindly update it? I am trying to download to Ubuntu 22.04. Thank you!

The debian.neo4j.org website was deprecated a few years ago now. It got moved to debian.neo4j.com.

The correct command to get the key is now:

wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -