2016-10-27 49 views
-1

我試着按照neo4j提供的官方指南安裝在Ubuntu中,但有一次我錯誤地在sources.list文件中添加了2個條目並嘗試安裝。之後,我刪除了條目,並從頭開始,但它顯示此錯誤。neo4j不能被安裝

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

回答

0

重建sources.list文件並運行sudo apt-get update。在我的情況下,sources.list文件丟失,因此必須生成。