在 Ubuntu 中安装 cassandra 时出错
我正在学习本教程;在我的 Ubuntu 服务器上安装 Cassandra: http://www.unixmen.com/linux-tutorials/960-install-nosql-cassandra-db-in-ubuntu-via-ppa-repository
这是导致我出现一些问题的命令:
sudo apt-get update && sudo apt-get install cassandra
以下是错误消息:
处理时遇到错误: 卡桑德拉 E:子进程 /usr/bin/dpkg 返回错误代码 (1)
有什么想法吗?
提前致谢!
I am fallowing this tutorial; to install Cassandra on my Ubuntu Server: http://www.unixmen.com/linux-tutorials/960-install-nosql-cassandra-db-in-ubuntu-via-ppa-repository
Here is the command that is causing me some problems:
sudo apt-get update && sudo apt-get install cassandra
Here is the error message:
Errors were encountered while processing:
cassandra
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定那里出了什么问题,但您需要使用此处的最新说明:
http://wiki。 apache.org/cassandra/DebianPackaging
I'm not sure what's breaking there, but you'll want to use the more up to date instructions here:
http://wiki.apache.org/cassandra/DebianPackaging
我遇到了同样的问题,它似乎源于没有导入 /both/ gpg 密钥(您链接的教程以及我也尝试使用的教程,说用作为错误抛出的密钥替换密钥 - 您似乎两者都需要)
I had the same issue, it seems to stem from not having /both/ gpg keys imported (the tutorial you link, and the one I tried to use as well, says to replace the key with the one thrown as an error - you seem to need both)