我正在关注这个博客在 Ubuntu 18.04 中安装最新的 Neo4j。
我已经使用以下命令更新 ubuntu。
$ sudo apt-get update
$ sudo apt-get dist-upgrade
当我按照Neo4j
最后的安装步骤操作时,每次都会出现错误:
Unable to locate package neo4j
问题就在这里:
$ 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.
答案1
我也遇到了同样的问题。
为了在 ubuntu 18.04 中安装 neo4j,
请以 root 身份输入
$ sudo su
按着这些次序
$ 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
这会对你有帮助..