Requer o liblttng quando eu instalo o ceph no CentOS7.2

0

Quando eu instalar o ceph e ceph-radosgw no meu CentOS 7.2:

yum -y install ceph ceph-radosgw 

Eu recebo o erro abaixo:

......
--> Finished Dependency Resolution
Error: Package: 1:ceph-base-10.2.9-0.el7.x86_64 (Ceph)
           Requires: liblttng-ust.so.0()(64bit)
Error: Package: 1:ceph-radosgw-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libfcgi.so.0()(64bit)
Error: Package: 1:ceph-mon-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libleveldb.so.1()(64bit)
Error: Package: 1:ceph-common-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libbabeltrace-ctf.so.1()(64bit)
Error: Package: 1:librados2-10.2.9-0.el7.x86_64 (Ceph)
           Requires: liblttng-ust.so.0()(64bit)
Error: Package: 1:ceph-osd-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libleveldb.so.1()(64bit)
Error: Package: 1:librgw2-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libfcgi.so.0()(64bit)
Error: Package: 1:ceph-common-10.2.9-0.el7.x86_64 (Ceph)
           Requires: libbabeltrace.so.1()(64bit)
Error: Package: 1:librbd1-10.2.9-0.el7.x86_64 (Ceph)
           Requires: liblttng-ust.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
    
por three-blocks 20.07.2017 / 11:48

2 respostas

0

Tente isto:

sudo yum install -y yum-utils && sudo yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && sudo yum install --nogpgcheck -y epel-release && sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && sudo rm /etc/yum.repos.d/dl.fedoraproject.org*

Talvez você use isto: link

    
por 03.08.2017 / 09:44
0

Um exemplo para o CentOS Linux release 7.5.1804 (Core) e o Ceph Mimic 13.2.2. Todas as informações do Ceph .

[root@server1 ]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core) 

[root@server1 ]# ceph --version
ceph version 13.2.2 (02899bfda814146b021136e9d8e80eba494e1126) mimic (stable)
  1. Adicionar chaves:

sudo rpm --import 'https://download.ceph.com/keys/release.asc'

  1. crie um arquivo como:

/etc/yum.repos.d/ceph.repro

com este conteúdo:

[ceph]
name=Ceph packages for $basearch
baseurl=https://download.ceph.com/rpm-mimic/el7/$basearch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=https://download.ceph.com/rpm-mimic/el7/noarch
enabled=1
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc

[ceph-source]
name=Ceph source packages
baseurl=https://download.ceph.com/rpm-mimic/el7/SRPMS
enabled=0
priority=2
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.asc
  1. Faça o download de pacotes adicionais

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

  1. Atualizar o Ceph

su -c 'rpm -Uvh https://download.ceph.com/rpm-mimic/el7/noarch/ceph-release-1-1.el7.noarch.rpm'

  1. Atualizar

sudo yum update

  1. Instale seu Ceph

yum -y install ceph ceph-radosgw

    
por 29.10.2018 / 11:03

Tags