在 Debian 或 Ubuntu 上安装 Neo4j 数据库失败,提示 “The following packages have unmet dependencies”
在 Debian 或 Ubuntu 上安装 Neo4j 数据库时出现错误
The following packages have unmet dependencies: neo4j-enterprise : Depends: cypher-shell (< 1.2.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
为什么会出现这种情况?
apt 包管理器无法处理同一软件包的多个版本,在本例中是 Cypher Shell 1.1.12 和 4.0。
如何规避此问题?
在我们找到此问题的解决方案之前,建议使用以下变通办法
在 apt install 命令末尾添加 cypher-shell=1.1.12,例如
sudo apt install neo4j cypher-shell=1.1.12
这样可以确保为 Neo4j 数据库 3.x 版本安装最新受支持的 Cypher Shell 版本。
此页面有帮助吗?