私はcassandra appacheをインストールしようとしました。私はdebianpackaging wikiの手順に従っていました。私のJavaのバージョンが同様に正常に見えるカサンドラのインストールがunmet依存関係に失敗しました
[email protected]:~$ cat /etc/apt/sources.list | grep "apache"
deb http://www.apache.org/dist/cassandra/debian 30x main
deb-src http://www.apache.org/dist/cassandra/debian 30x main
[email protected]:~$
:私は私のsources.listに2行を追加しました
[email protected]:~$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
[email protected]:~$
しかし、私はそれをインストールしようとすると、私は、次のエラーメッセージが表示されます:
[email protected]:~$ sudo apt-get install cassandra
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:
cassandra : Depends: openjdk-8-jre-headless but it is not installable or
java8-runtime but it is not installable
Recommends: ntp but it is not going to be installed or
time-daemon
E: Unable to correct problems, you have held broken packages.
どうすれば解決できますか?
apt edit-sources
は、次の行を追加します:あなたが実行し、バックポートからopenjdk-8-jre-headless
をインストールする必要が
あなたは 'のapt-GET'を使用してJavaをインストールしましたインストールしますか? –