Ceph 설치 aws rhel ec2 종속성 문제 [닫기]

Ceph 설치 aws rhel ec2 종속성 문제 [닫기]

ceph-common다음을 사용하여 패키지를 설치 하려고합니다 yum.

yum install ceph-common 

최근 생성된 RHEL AMI 인스턴스에서 인스턴스 버전은 다음과 같습니다.

cat /proc/version
Linux version 3.10.0-514.10.2.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Mon Feb 20 02:37:52 EST 2017

종속성 문제로 인해 이 작업이 실패했습니다.

sudo yum install ceph-common
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package ceph-common.x86_64 1:0.80.8-17.el7cp will be updated
--> Processing Dependency: ceph-common = 1:0.80.8 for package: 1:ceph-radosgw-0.80.8-17.el7cp.x86_64
---> Package ceph-common.x86_64 1:0.94.5-1.el7 will be an update
--> Processing Dependency: librados2 = 1:0.94.5-1.el7 for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Processing Dependency: librbd1 = 1:0.94.5-1.el7 for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Processing Dependency: python-rados = 1:0.94.5-1.el7 for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Processing Dependency: python-rbd = 1:0.94.5-1.el7 for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Processing Dependency: cryptsetup for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Processing Dependency: hdparm for package: 1:ceph-common-0.94.5-1.el7.x86_64
--> Running transaction check
---> Package ceph-common.x86_64 1:0.80.8-17.el7cp will be updated
--> Processing Dependency: ceph-common = 1:0.80.8 for package: 1:ceph-radosgw-0.80.8-17.el7cp.x86_64
---> Package cryptsetup.x86_64 0:1.7.2-1.el7 will be installed
---> Package hdparm.x86_64 0:9.43-5.el7 will be installed
---> Package librados2.x86_64 1:0.80.8-17.el7cp will be updated
--> Processing Dependency: librados2 = 1:0.80.8 for package: 1:ceph-radosgw-0.80.8-17.el7cp.x86_64
---> Package librados2.x86_64 1:0.94.5-1.el7 will be an update
---> Package librbd1.x86_64 1:0.80.8-17.el7cp will be updated
---> Package librbd1.x86_64 1:0.94.5-1.el7 will be an update
---> Package python-rados.x86_64 1:0.80.8-17.el7cp will be updated
---> Package python-rados.x86_64 1:0.94.5-1.el7 will be an update
---> Package python-rbd.x86_64 1:0.80.8-17.el7cp will be updated
---> Package python-rbd.x86_64 1:0.94.5-1.el7 will be an update
--> Finished Dependency Resolution
Error: Package: 1:ceph-radosgw-0.80.8-17.el7cp.x86_64 (@rhui-REGION-rhel-server-rh-common)
           Requires: ceph-common = 1:0.80.8
           Removing: 1:ceph-common-0.80.8-17.el7cp.x86_64 (@rhui-REGION-rhel-server-rh-common)
               ceph-common = 1:0.80.8-17.el7cp
           Updated By: 1:ceph-common-0.94.5-1.el7.x86_64 (rhui-REGION-rhel-server-releases)
               ceph-common = 1:0.94.5-1.el7
           Available: 1:ceph-common-0.80.7-2.el7.x86_64 (rhui-REGION-rhel-server-releases)
               ceph-common = 1:0.80.7-2.el7
           Available: 1:ceph-common-0.80.7-3.el7.x86_64 (rhui-REGION-rhel-server-releases)
               ceph-common = 1:0.80.7-3.el7
           Available: 1:ceph-common-0.80.8-6.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               ceph-common = 1:0.80.8-6.el7cp
           Available: 1:ceph-common-0.80.8-7.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               ceph-common = 1:0.80.8-7.el7cp
           Available: 1:ceph-common-0.80.8-15.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               ceph-common = 1:0.80.8-15.el7cp
Error: Package: 1:ceph-radosgw-0.80.8-17.el7cp.x86_64 (@rhui-REGION-rhel-server-rh-common)
           Requires: librados2 = 1:0.80.8
           Removing: 1:librados2-0.80.8-17.el7cp.x86_64 (@rhui-REGION-rhel-server-rh-common)
               librados2 = 1:0.80.8-17.el7cp
           Updated By: 1:librados2-0.94.5-1.el7.x86_64 (rhui-REGION-rhel-server-releases)
               librados2 = 1:0.94.5-1.el7
           Available: 1:librados2-0.80.7-2.el7.x86_64 (rhui-REGION-rhel-server-releases)
               librados2 = 1:0.80.7-2.el7
           Available: 1:librados2-0.80.7-3.el7.x86_64 (rhui-REGION-rhel-server-releases)
               librados2 = 1:0.80.7-3.el7
           Available: 1:librados2-0.80.8-6.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               librados2 = 1:0.80.8-6.el7cp
           Available: 1:librados2-0.80.8-7.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               librados2 = 1:0.80.8-7.el7cp
           Available: 1:librados2-0.80.8-15.el7cp.x86_64 (rhui-REGION-rhel-server-rh-common)
               librados2 = 1:0.80.8-15.el7cp
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

이 Red Hat 인스턴스에 ceph-common을 어떻게 설치합니까?

답변1

해결됨

yum clean all
yum reinstall ceph-common

관련 정보