我无法在Ubuntu上安装datastax cassandra 2.0。我可以安装2.1没有任何问题,但我需要运行2.0.9。我正在遵循这些步骤,有什么办法可以安装2.0吗?
echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install dsc20
,错误是:
$ sudo apt-get -y install dsc20
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:
dsc20 : Depends: cassandra (= 2.0.10) but 2.1.0-2 is to be installed
E: Unable to correct problems, you have held broken packages.
答案 0 :(得分:8)
你走了:
sudo apt-get install dsc20 cassandra=2.0.10 -V