3

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.
Stephen Rauch
  • 1,156
  • 6
  • 15
  • 21

1 Answers1

11

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..

Vishnu M
  • 111