linux - 安装dsc21时出错:“dsc21:取决于:cassandra(= 2.1.8),但要安装2.2.0”

datastax apt (1)

出现错误之后,请指定cassandra包的正确版本! apt-get install dsc21=2.1.8-1 cassandra=2.1.8

所以我试图在过去的几个月里使用已经为我工作的方法来安装dsc21。 下面是我使用的命令

echo "deb stable main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
curl -L | apt-key add -
apt-get -q -y install dsc21


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:
 dsc21 : Depends: cassandra (= 2.1.8) but 2.2.0 is to be installed
E: Unable to correct problems, you have held broken packages.

基本上我认为问题是,当我不需要重新安装的时候,我认为datastax推送了dsc22并且执行apt-get install dsc22 。 我现在不能升级,因为这意味着升级我使用的所有其他软件。

编辑:我使用的操作系统是“ubuntu / trusty64”

编辑2:我已经尝试运行apt-get install dsc21=2.1.8-1 ,它会产生与上面相同的错误