0

我试图在我的 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).

我试图找出解决方案,但无法得到它。请让我知道我哪里出错了。

4

1 回答 1

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,它可以从mainrepo 获得:

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
于 2016-11-26T12:12:51.033 回答