neo4j:取决于:守护进程,但它不可安装

时间:2017-02-01 15:35:22

标签: neo4j

有人在ubuntu 14上遇到过这个问题?

>sudo apt-get install neo4j
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 neo4j : Depends: daemon but it is not installable
E: Unable to correct problems, you have held broken packages.

我按照这里的步骤进行了操作:

https://debian.neo4j.org/

但我无法通过此错误

1 个答案:

答案 0 :(得分:4)

以下对我有用,

  1. https://repogen.simplylinux.ch/

  2. 选择 country / ubuntu 版本

  3. 从ubuntu分支机构中选择 Main / Universe (框)

  4. 从ubuntu更新中选择安全/更新(框)

  5. (尽管您可以根据需要选择其他项目)

    1. 转到页面底部,然后点击生成列表
    2. 这会显示新页面,其中显示了您需要的所有资源和gpg密钥

      1. 使用屏幕上显示的命令或手动处理来更新 /etc/apt/sources.list 文件
      2. 请注意:如果您使用页面上显示的命令,它将覆盖您的sources.list,如果您备份sources.list文件或手动更新文件显示在屏幕上的内容

        1. 使用屏幕上显示的命令更新gpg键
        2. 接下来,运行以下内容,

          1. sudo apt-get update

          2. sudo apt-get install daemon