cassandra-tools depend on openjdk-8-jre-headless which is only available in jessie-backports repo.
Since this is the only version available, it'll be installed:
openjdk-8-jre-headless also depends on ca-certificates-java which is available in both official Jessie
repos as well as backports.
Problem is that by default the version from main repo will be privileged for install:
Since openjdk-8-jre-headless also breaks ca-certificates-java version < 20160321 and the choosen version for install will be 20140324, apt triggers a dependency issue and stop the install.
3 solutions:
Use apt pinning (but you take the risk to install all packages from backports which usually you don't want)
Specify the exact packages version in apt install command line like
apt install openjdk-8-jre-headless=8u121-b13-1~bpo8+1 ca-certificates-java=20161107~bpo8+1. Works, but version detection can be painfull
Force jessie-backports repository usage adding -t jessie-backports
I choose the third solution because it's easier ans safer: only needed packages will be picked up from jessie-backport
cassandra-tools
depend onopenjdk-8-jre-headless
which is only available injessie-backports
repo. Since this is the only version available, it'll be installed:openjdk-8-jre-headless
also depends onca-certificates-java
which is available in both official Jessie repos as well as backports. Problem is that by default the version from main repo will be privileged for install:Since
openjdk-8-jre-headless
also breaksca-certificates-java
version <20160321
and the choosen version for install will be20140324
, apt triggers a dependency issue and stop the install.3 solutions:
apt install openjdk-8-jre-headless=8u121-b13-1~bpo8+1 ca-certificates-java=20161107~bpo8+1
. Works, but version detection can be painfull-t jessie-backports
I choose the third solution because it's easier ans safer: only needed packages will be picked up from
jessie-backport