2016-11-26 196 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