Now you can follow these steps:
1) Download the deb package from the repository
apt-get download cassandra
2) Install the deb file, ignoring the dependencies
sudo dpkg --force-depends -i cassandra_3.5_all.deb
Obviously, you must make sure that all other dependencies are satisfied. python-support already included in the default server installation, so no worries, however python itself cannot yet be installed on your system, so you should run the following BEFORE dpkg -i ... :
sudo apt-get install python
To see the Depends: ... the .deb file before trying to install it, you can use the -I option, as in:
dpkg -I cassandra_3.5_all.deb
In the case of Cassandra 3.5, I see the following:
Depends: openjdk-8-jre-headless | java8-runtime, adduser, python (>= 2.7), python-support (>= 0.90.0)
So, you can first run the following to make sure all the dependencies are actually fulfilled:
sudo apt-get install adduser python oracle-java8-installer
or if you want to use OpenJDK (NOT TESTED):
sudo apt-get install adduser python default-jre
Alexis wilke
source share