问题
Anybody having this issue on 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.
I followed the steps here:
https://debian.neo4j.org/
but I cannot get past this error
回答1:
The below worked for me,
https://repogen.simplylinux.ch/
Select the country/ubuntu version
Select Main/Universe from ubuntu branches (box)
Select Security/Updates from ubuntu updates (box)
(although you can select the other items if it suits your need)
- Goto the bottom of the page and click on generate list
This will take you the new page where it displays all the sources and gpg keys required for you
- updates your /etc/apt/sources.list file either using the command displayed on the screen or by manually coping it
Please Note: If you use the command displayed on the page, it will overwrite your sources.list, if you have either backup your sources.list file or manually update the file with contents displayed on the screen
- update the gpg keys with the command displayed on the screen
Next, run the below,
sudo apt-get update
sudo apt-get install daemon
来源:https://stackoverflow.com/questions/41983664/neo4j-depends-daemon-but-it-is-not-installable