1

I am following this blog to install latest Neo4j in Ubuntu 18.04.

I already update ubuntu with following commands.

$ sudo apt-get update
$ sudo apt-get dist-upgrade

When I followed Neo4j installation step at the end every time getting the error:

Unable to locate package neo4j

Problem is here:

$ sudo apt-get udpate

Reading package lists... Done                                                                   
E: Release file for https://debian.neo4j.org/repo/stable/Release is not valid yet (invalid for another 1min 22s). Updates for this repository will not be applied.
W: Debian shuts down public FTP services currently still used in your sources.list(5) as 'ftp://ftp.nl.debian.org/debian/'.
   See press release https://debian.org/News/2017/20170425 for details.
  • If you can't get around this, there's an option to install from a tarball – valiano Jun 7 '18 at 12:03
  • "Release file for debian.neo4j.org/repo/stable/Release is not valid yet (invalid for another 1min 22s)." – Looks like you need to try again in 1 minute and 22 seconds. – David Foerster Jun 7 '18 at 12:39
  • Debian shuts down public FTP services, there is an alternative for that. – Gaurav Sharma Jun 7 '18 at 18:33
4

I also had the same problem.


Inorder to install neo4j in ubuntu 18.04
Enter as root

$ sudo su

Follow these steps

$ wget --no-check-certificate -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
$ echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list
$ apt update
$ apt install neo4j


This will help you..

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.