Centos 下安装ceph-deploy遇到问题

前端之家收集整理的这篇文章主要介绍了Centos 下安装ceph-deploy遇到问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Centos下在用 yum 安装ceph-deploy 时遇到依赖问题:

$ sudo yum -y install ceph-deploy
Loaded plugins: fastestmirror,langpacks,priorities
Loading mirror speeds from cached hostfile
 * base: mirror.rackspace.com
 * epel: fedora-epel.mirror.lstn.net
 * epel-debuginfo: fedora-epel.mirror.lstn.net
 * epel-source: fedora-epel.mirror.lstn.net
 * extras: repos.dfw.quadranet.com
 * updates: mirrors.advancedhosters.com
Resolving Dependencies
--> Running transaction check
---> Package ceph-deploy.noarch 0:1.5.36-0 will be installed
--> Processing Dependency: python-distribute for package: ceph-deploy-1.5.36-0.noarch
Package python-setuptools-0.9.8-4.el7.noarch is obsoleted by python2-setuptools-22.0.5-1.el7.noarch which is already installed
--> Finished Dependency Resolution
Error: Package: ceph-deploy-1.5.36-0.noarch (ceph-noarch)
           Requires: python-distribute
           Available: python-setuptools-0.9.8-4.el7.noarch (base)
               python-distribute = 0.9.8-4.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
... prompt'''

解决方法

如果在更新yum的ceph源之后仍然会出现这个问题,可以使用pip安装

$sudo yum -y install python-pip
$sudo pip install ceph-deploy
$sudo pip install --upgrade pip
原文链接:https://www.f2er.com/centos/376797.html

猜你在找的CentOS相关文章