--- Package ceph-commonx86_64 11025-4el7 will be installed-- Processing Dependency python-rbd = 11025-4el7 for package 1ceph-common-1025-4el7x86_64-- Processing Dependency python-rados = 11025-4el7 fo
这个报错是因为安装的版本与依赖的版本不匹配导致的。可以尝试下面的解决方法:
-
检查已安装的 Ceph 版本,运行命令:
ceph -v
如果版本不是 10.2.5-4.el7,则需要先卸载已安装的 Ceph。
-
卸载已安装的 Ceph,运行命令:
sudo yum remove -y ceph ceph-common ceph-fuse ceph-mds ceph-mon ceph-osd librados2 librbd1 libcephfs1 libradosstriper1
-
清除 Yum 缓存,运行命令:
sudo yum clean all
-
安装正确的版本,运行以下命令:
sudo yum install -y ceph ceph-common librados2 librbd1 libcephfs1 libradosstriper1 ceph-fuse ceph-mds ceph-mon ceph-osd
如果仍然出现依赖问题,可以尝试添加 --skip-broken 参数,或者手动安装依赖的正确版本。
原文地址: https://www.cveoy.top/t/topic/bcc7 著作权归作者所有。请勿转载和采集!