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

おすすめ記事