ubuntu – E:包’cassandra’没有安装候选者

我正在尝试在Ubuntu 14.04中安装cassandra,当我运行此命令时我遇到了这个问题:sudo apt-get install cassandra.

 Reading package lists... Done
 Building dependency tree 
 Reading state information... Done
 Package cassandra is not available, but is referred to by another package.  
 This may mean that the package is missing, has been obsoleted, or is only available from another source
 E: Package 'cassandra' has no installation candidate

请帮我修理一下.尝试了一些链接,但它没有奏效.我需要在我的机器上安装cassandra

最佳答案 在/etc/apt/sources.list中,找到描述Debian源存储库的行,并将contrib non-free添加到行尾.例如:

deb
http://some.debian.mirror/debian/ $发行主要贡献非自由

点赞