Scylla 1.4无法在Ubuntu 16.04上安装

时间:2016-11-26 08:22:03

标签: ubuntu ubuntu-16.04 scylla

我试图在我的Ubuntu 16.04系统上设置ScyllaDB。但我遇到以下错误:

aims@aims:~$ sudo scylla_setup
sudo: /etc/sudoers.d is world writable
[sudo] password for aims: 
Skip any of the following steps by answering 'no'
Do you want to run kernel version check?
Answer yes to have this script verify that the currently installed kernel is qualified to run Scylla; answer no to skip this check.
[YES/no]yes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
scylla : Depends: scylla-tools but it is not going to be installed
xfsprogs : Depends: libreadline5 (>= 5.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我试图找到它的解决方案,但无法得到它。请告诉我哪里出错了。

1 个答案:

答案 0 :(得分:2)

首先,你需要解决unmet dependencies

scylla 1.4个回购添加到sources.list

sudo wget -O /etc/apt/sources.list.d/scylla.list http://downloads.scylladb.com/deb/ubuntu/scylla-1.4-xenial.list

更新您的系统

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

安装libreadline5,可以从main repo:

获取
sudo apt-get install libreadline5

安装scylla

sudo apt-get install scylla

执行命令

sudo scylla_setup

启用/启动服务:

sudo systemctl enable scylla-server
sudo systemctl start scylla-server
sudo systemctl enable scylla-jmx
sudo systemctl start scylla-jmx