首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装dsc21时出错:" dsc21 : dsc21: cassandra (= 2.1.8),但2.2.0将被安装“

安装dsc21时出错:" dsc21 : dsc21: cassandra (= 2.1.8),但2.2.0将被安装“
EN

Stack Overflow用户
提问于 2015-07-24 18:47:23
回答 1查看 1.1K关注 0票数 4

因此,我试图使用过去几个月来一直为我工作的方法来安装dsc21。我使用的命令如下

代码语言:javascript
复制
echo "deb http://debian.datastax.com/community stable main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list
curl -L http://debian.datastax.com/debian/repo_key | apt-key add -
apt-get -q -y install dsc21

这件事今天对我不起作用了,我说错了

代码语言:javascript
复制
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“

Edit2:我尝试过运行apt-get install dsc21=2.1.8-1,它会产生与上面相同的错误

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-07-24 19:15:33

在错误之后,也为cassandra包指定正确的版本!apt-get install dsc21=2.1.8-1 cassandra=2.1.8

票数 11
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31617691

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档