[root@ceph01 yum.repos.d]# yum install ceph Loaded plugins: fastestmirror Ceph | 951 B 00:00:00 Ceph-noarch | 951 B 00:00:00 ceph-source | 951 B 00:00:00 (1/3): Ceph-noarch/primary | 2.6 kB 00:00:00 (2/3): ceph-source/primary | 2.7 kB 00:00:00 (3/3): Ceph/x86_64/primary | 17 kB 00:00:01 Loading mirror speeds from cached hostfile * base: mirrors.hust.edu.cn * extras: mirrors.hust.edu.cn * updates: mirrors.yun-idc.com Ceph 62/62 Ceph-noarch 16/16 ceph-source 19/19 Resolving Dependencies --> Running transaction check ---> Package ceph.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libcephfs1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: python-flask for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: hdparm for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: python-ceph for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: cryptsetup for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: gdisk for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libleveldb.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libcephfs.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: librados.so.2()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Running transaction check ---> Package boost-system.x86_64 0:1.53.0-23.el7 will be installed ---> Package boost-thread.x86_64 0:1.53.0-23.el7 will be installed ---> Package ceph.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libleveldb.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package ceph-common.x86_64 1:0.80.7-2.el7 will be installed --> Processing Dependency: python-rbd = 1:0.80.7-2.el7 for package: 1:ceph-common-0.80.7-2.el7.x86_64 --> Processing Dependency: python-rados = 1:0.80.7-2.el7 for package: 1:ceph-common-0.80.7-2.el7.x86_64 --> Processing Dependency: librbd1 = 1:0.80.7-2.el7 for package: 1:ceph-common-0.80.7-2.el7.x86_64 --> Processing Dependency: librados2 = 1:0.80.7-2.el7 for package: 1:ceph-common-0.80.7-2.el7.x86_64 --> Processing Dependency: redhat-lsb-core for package: 1:ceph-common-0.80.7-2.el7.x86_64 ---> Package cryptsetup.x86_64 0:1.6.6-3.el7 will be installed ---> Package gdisk.x86_64 0:0.8.6-5.el7 will be installed --> Processing Dependency: libicuuc.so.50()(64bit) for package: gdisk-0.8.6-5.el7.x86_64 --> Processing Dependency: libicuio.so.50()(64bit) for package: gdisk-0.8.6-5.el7.x86_64 ---> Package hdparm.x86_64 0:9.43-5.el7 will be installed ---> Package libcephfs1.x86_64 0:0.80.9-0.el7.centos will be installed ---> Package librados2.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package librbd1.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package python-flask.noarch 1:0.10.1-4.el7 will be installed --> Processing Dependency: python-werkzeug for package: 1:python-flask-0.10.1-4.el7.noarch --> Processing Dependency: python-jinja2 for package: 1:python-flask-0.10.1-4.el7.noarch --> Processing Dependency: python-itsdangerous for package: 1:python-flask-0.10.1-4.el7.noarch --> Running transaction check ---> Package ceph.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libleveldb.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package libicu.x86_64 0:50.1.2-11.el7 will be installed ---> Package librados2.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package librados2.x86_64 1:0.80.7-2.el7 will be installed ---> Package librbd1.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package librbd1.x86_64 1:0.80.7-2.el7 will be installed ---> Package python-itsdangerous.noarch 0:0.23-2.el7 will be installed ---> Package python-jinja2.noarch 0:2.7.2-2.el7 will be installed --> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.7.2-2.el7.noarch --> Processing Dependency: python-markupsafe for package: python-jinja2-2.7.2-2.el7.noarch ---> Package python-rados.x86_64 1:0.80.7-2.el7 will be installed ---> Package python-rbd.x86_64 1:0.80.7-2.el7 will be installed ---> Package python-werkzeug.noarch 0:0.9.1-2.el7 will be installed ---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be installed --> Processing Dependency: redhat-lsb-submod-security(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: spax for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/sbin/fuser for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/time for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/patch for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/lpr for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/lp for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/killall for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/bc for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/batch for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /usr/bin/at for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Processing Dependency: /bin/ed for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64 --> Running transaction check ---> Package at.x86_64 0:3.1.13-17.el7_0.1 will be installed ---> Package bc.x86_64 0:1.06.95-13.el7 will be installed ---> Package ceph.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libleveldb.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package cups-client.x86_64 1:1.6.3-17.el7 will be installed --> Processing Dependency: cups-libs(x86-64) = 1:1.6.3-17.el7 for package: 1:cups-client-1.6.3-17.el7.x86_64 --> Processing Dependency: libcups.so.2()(64bit) for package: 1:cups-client-1.6.3-17.el7.x86_64 ---> Package ed.x86_64 0:1.9-4.el7 will be installed ---> Package librados2.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package librbd1.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package m4.x86_64 0:1.4.16-9.el7 will be installed ---> Package mailx.x86_64 0:12.5-12.el7_0 will be installed ---> Package patch.x86_64 0:2.7.1-8.el7 will be installed ---> Package psmisc.x86_64 0:22.20-8.el7 will be installed ---> Package python-babel.noarch 0:0.9.6-8.el7 will be installed ---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed ---> Package redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 will be installed ---> Package spax.x86_64 0:1.5.2-11.el7 will be installed ---> Package time.x86_64 0:1.7-45.el7 will be installed --> Running transaction check ---> Package ceph.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 --> Processing Dependency: libleveldb.so.1()(64bit) for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package ceph-common.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: ceph-common = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package cups-libs.x86_64 1:1.6.3-17.el7 will be installed ---> Package librados2.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librados2 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 ---> Package librbd1.x86_64 0:0.80.9-0.el7.centos will be installed --> Processing Dependency: librbd1 = 0.80.9-0.el7.centos for package: ceph-0.80.9-0.el7.centos.x86_64 --> Finished Dependency Resolution Error: Package: ceph-0.80.9-0.el7.centos.x86_64 (Ceph) Requires: ceph-common = 0.80.9-0.el7.centos Available: ceph-common-0.80.6-0.el7.centos.x86_64 (Ceph) ceph-common = 0.80.6-0.el7.centos Available: ceph-common-0.80.7-0.el7.centos.x86_64 (Ceph) ceph-common = 0.80.7-0.el7.centos Available: ceph-common-0.80.8-0.el7.centos.x86_64 (Ceph) ceph-common = 0.80.8-0.el7.centos Available: ceph-common-0.80.9-0.el7.centos.x86_64 (Ceph) ceph-common = 0.80.9-0.el7.centos Installing: 1:ceph-common-0.80.7-2.el7.x86_64 (base) ceph-common = 1:0.80.7-2.el7 Error: Package: ceph-0.80.9-0.el7.centos.x86_64 (Ceph) Requires: libleveldb.so.1()(64bit) Error: Package: ceph-0.80.9-0.el7.centos.x86_64 (Ceph) Requires: libtcmalloc.so.4()(64bit) Error: Package: ceph-0.80.9-0.el7.centos.x86_64 (Ceph) Requires: librados2 = 0.80.9-0.el7.centos Available: librados2-0.80.6-0.el7.centos.x86_64 (Ceph) librados2 = 0.80.6-0.el7.centos Available: librados2-0.80.7-0.el7.centos.x86_64 (Ceph) librados2 = 0.80.7-0.el7.centos Available: librados2-0.80.8-0.el7.centos.x86_64 (Ceph) librados2 = 0.80.8-0.el7.centos Available: librados2-0.80.9-0.el7.centos.x86_64 (Ceph) librados2 = 0.80.9-0.el7.centos Installing: 1:librados2-0.80.7-2.el7.x86_64 (base) librados2 = 1:0.80.7-2.el7 Error: Package: ceph-0.80.9-0.el7.centos.x86_64 (Ceph) Requires: librbd1 = 0.80.9-0.el7.centos Available: librbd1-0.80.6-0.el7.centos.x86_64 (Ceph) librbd1 = 0.80.6-0.el7.centos Available: librbd1-0.80.7-0.el7.centos.x86_64 (Ceph) librbd1 = 0.80.7-0.el7.centos Available: librbd1-0.80.8-0.el7.centos.x86_64 (Ceph) librbd1 = 0.80.8-0.el7.centos Available: librbd1-0.80.9-0.el7.centos.x86_64 (Ceph) librbd1 = 0.80.9-0.el7.centos Installing: 1:librbd1-0.80.7-2.el7.x86_64 (base) librbd1 = 1:0.80.7-2.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest centos7.1 安装ceph 为什么安装不了 centos7.1上面包含了ceph的一些包,然后就冲突了。 应该可以通过设置yum源的优先级来解决,你可以试一下。 或者yum --disablerepo=base install ceph来试试 验证的结果是:可以正常安装0.94版本,不用特殊命令参数,直接安装。 (责任编辑:IT) |