我正在关注此博客以在 Ubuntu 18.04 中安装最新的 Neo4j。
我已经使用以下命令更新了 ubuntu。
$ sudo apt-get update
$ sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
当我Neo4j每次收到错误时都按照安装步骤进行操作时:
Unable to locate package neo4j
Run Code Online (Sandbox Code Playgroud)
问题在这里:
$ sudo apt-get udpate
Reading package lists... Done
E: Release file for https://debian.neo4j.org/repo/stable/Release is not valid yet (invalid for another 1min 22s). Updates for this repository will not be applied.
W: Debian shuts down public FTP services currently still used in your sources.list(5) as 'ftp://ftp.nl.debian.org/debian/'.
See press release https://debian.org/News/2017/20170425 for details.
Run Code Online (Sandbox Code Playgroud) $sudo apt-get -f install google-chrome-stable
Run Code Online (Sandbox Code Playgroud)
我尝试在 ubuntu 中安装 java,但没有成功安装,但之后当我尝试安装/删除任何其他软件包时,出现以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bleachbit : Depends: menu but it is not going to be installed
ca-certificates-java : Depends: openjdk-6-jre-headless (>= 6b16-1.6.1-2) or
java6-runtime-headless
icedtea-6-plugin : Depends: openjdk-6-jre
icedtea-netx : Depends: openjdk-6-jre (>= 6b23~pre10~) or
openjdk-7-jre
**E: Unmet dependencies. Try 'apt-get -f install' with no packages (or …Run Code Online (Sandbox Code Playgroud)