RHEL和CentOS上的Scylla安装问题

时间:2019-02-14 08:14:39

标签: cassandra rhel rhel7 scylla

我正在按照此处所述执行RHEL灌输步骤 https://www.scylladb.com/download/rhel_rpm/

在我的本地仓库/etc/yum/repos.d/scylla.repo中创建并添加了一堆RPM文件

在安装时出现以下错误。

->处理依赖性:/ usr / bin / python3,用于软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64 ->完成的依赖关系解析 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:/ usr / bin / python3 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:python-requests 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:python34 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libhwloc.so.5()(64bit) 错误:软件包:scylla-tools-core-2.1.6-20180701.fadba0b27.el7.noarch(scylla2.16)            要求:java-headless 错误:软件包:scylla-tools-2.1.6-20180701.fadba0b27.el7.noarch(scylla2.16)            需要:scylla-conf 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libcryptopp.so.6()(64bit) 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:PyYAML 错误:软件包:scylla-tools-core-2.1.6-20180701.fadba0b27.el7.noarch(scylla2.16)            要求:java-1.8.0-openjdk-headless 错误:软件包:scylla-jmx-2.1.6-20180701.315934b.el7.noarch(scylla2.16)            要求:java-1.8.0-openjdk-headless 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:python3-pyudev 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libthrift-0.9.1.so()(64bit) 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:python34-PyYAML 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libjsoncpp.so.0()(64bit) 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:hwloc 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:python-setuptools 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libyaml-cpp.so.0.5()(64bit) 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:python-urwid 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:收集 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libgnutlsxx.so.28()(64bit) 错误:套件:gcc-gnat-4.8.5-36.el7.x86_64(@ RHEL7)            要求:libgnat = 4.8.5-36.el7            删除:libgnat-4.8.5-36.el7.x86_64(@ RHEL7)                libgnat = 4.8.2-16.el7                libgnat = 4.8.5-36.el7            淘汰者:scylla-libgcc72-7.2.1-1.el7.centos.x86_64(scylla2.16)                未找到 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            要求:libprotobuf.so.8()(64bit) 错误:软件包:scylla-server-2.1.6-0.20180701.7d2150a05.el7.x86_64(scylla2.16)            需要:scylla-conf 错误:软件包:scylla-tools-core-2.1.6-20180701.fadba0b27.el7.noarch(scylla2.16)            要求:python-yaml

请帮助解决此问题。

1 个答案:

答案 0 :(得分:3)

  1. 您正在安装非常旧的Scylla版本(刚刚推出2.1-3.0.3)
  2. 缺少依赖项。看来您可能已跳过了要求您安装EPEL存储库(yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm)的安装步骤
  3. 使用EPEL后,还需要启用Scylla的所有3个存储库(下载存储库文件后,应将它们放在yum repolist中):
scylla-3.0/7/x86_64       Scylla for Centos 7 - x86_64
scylla-generic-3.0/7      Scylla for centos 7 
scylladb-scylla-3rdparty  Copr repo for scylla-3rdparty owned by scylladb

您没有提到您使用的操作系统版本,这也很重要。