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

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

概述所以我试图使用过去几个月一直在为我工作的方法安装dsc21.我使用的命令如下 echo "deb http://debian.datastax.com/community stable main" | tee -a /etc/apt/sources.list.d/cassandra.sources.listcurl -L http://debian.datastax.com/debian/rep 所以我试图使用过去几个月一直在为我工作的方法安装dsc21.我使用的命令如下

echo "deb http://debian.datastax.com/community stable main" | tee -a /etc/apt/sources.List.d/cassandra.sources.Listcurl -L http://debian.datastax.com/debian/repo_key | apt-key add -apt-get -q -y install dsc21

今天停止为我工作,我得到一个错误说

Reading package Lists... DoneBuilding dependency treeReading state information... DoneSome packages Could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor 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 installedE: 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,它会产生与上面相同的错误

解决方法 发生错误后,请为cassandra包指定正确的版本! apt-get install dsc21 = 2.1.8-1 cassandra = 2.1.8 总结

以上是内存溢出为你收集整理的linux – 安装dsc21时出错:“dsc21:取决于:cassandra(= 2.1.8),但要安装2.2.0”全部内容,希望文章能够帮你解决linux – 安装dsc21时出错:“dsc21:取决于:cassandra(= 2.1.8),但要安装2.2.0”所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/1028102.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存