在 ubuntu 14.04 上安装 neo4j 失败

Installation of neo4j on ubuntu 14.04 fails

我正在尝试按照 http://neo4j.com/docs/operations-manual/current/installation/linux/debian/?_ga=2.249168388.2041192375.1507250087-893468657.1507250087

中的指定在 ubuntu 14.04 中安装 neo4j

我使用的安装说明是

sudo apt-get install neo4j=3.2.3

但是没用

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package neo4j

如果有任何帮助,我将不胜感激

也许您忘记添加 debian 存储库并更新您的软件包列表:

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

https://neo4j.com/docs/operations-manual/current/installation/linux/debian/#debian-add-repository

我在 Debian 上遇到了同样的问题,安装 "apt-transport-https" 解决了这个问题,因为 deb https://debian.neo4j.org/repo stable/ 使用的是 https。 你可以用这个安装它:

sudo apt install apt-transport-https