CentOS 7.2에 설치할 때 ceph
:ceph-radosgw
yum -y install ceph ceph-radosgw
다음 오류가 발생합니다.
......
--> 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
답변1
CentOS Linux 버전 7.5.1804(코어) 및 Ceph Mimic 13.2.2의 예입니다. 모든 정보는 다음에서 제공됩니다.세팔로스포린 문서.
[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)
- 키 추가:
sudo rpm --import 'https://download.ceph.com/keys/release.asc'
- 다음과 같은 파일을 만듭니다.
/etc/yum.repos.d/ceph.repro
다음 콘텐츠가 포함되어 있습니다:
[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
- 애드온 패키지 다운로드
sudo 냠 설치 -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- 세프 업그레이드
su -c 'rpm -Uvh https://download.ceph.com/rpm-mimic/el7/noarch/ceph-release-1-1.el7.noarch.rpm'
- 고쳐 쓰다
sudo yum update
- Ceph를 설치하세요
yum -y install ceph ceph-radosgw
답변2
이 시도:
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*
아마도 다음을 사용할 수도 있습니다.http://bbs.ceph.org.cn/question/584
답변3
Ubuntu 18.04인 경우 universe
배포판을 추가해 보세요.
sudo add-apt-repository universe
원천:https://github.com/dotnet/cli/issues/9876#issuecomment-414854527