2016-11-26 265 views
0

我试图在我的Ubuntu 16.04系统上安装ScyllaDB。但是,我遇到以下错误:Scylla 1.4无法在Ubuntu上安装16.04

[email protected]:~$ 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). 

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

回答

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回购:

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 
+0

是否有任何身份验证连接到青蟹,JMX远程?我试图通过'jconsole xy.xy.xy.xy:7199'连接到它,但它卡住了。防火墙已打开。 – lisak