Glusterfs yum安装提示 liburcu-bp.so.1()(64bit)、pyxattr、liburcu-cds.so.1()(64bit) 解决方法

in 分布式存储 with 0 comment

今天重装系统,测试Glusterfs分布式存储的高性能特性。装完新系统安装Glusterfs-server 报错。

首先说一下,我是直接用的官方的yum源,编辑源glusterfs-server.repo,内容如下

vim /etc/yum.repos.d/glusterfs-server.repo

[glusterfs-epel]
name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/rsa.pub

[glusterfs-noarch-epel]
name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-$releasever/noarch
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/rsa.pub

[glusterfs-source-epel]
name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source
baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=1
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/rsa.pub

安装

#yum install -y glusterfs-server

---> Package glusterfs-libs.x86_64 0:3.7.11-2.el6 will be installed
---> Package glusterfs-server.x86_64 0:3.7.11-2.el6 will be installed
--> Processing Dependency: pyxattr for package: glusterfs-server-3.7.11-2.el6.x86_64
--> Processing Dependency: liburcu-cds.so.1()(64bit) for package: glusterfs-server-3.7.11-2.el6.x86_64
--> Processing Dependency: liburcu-bp.so.1()(64bit) for package: glusterfs-server-3.7.11-2.el6.x86_64
--> Finished Dependency Resolution
Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: liburcu-bp.so.1()(64bit)
Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: pyxattr
Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: liburcu-cds.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

报错信息如上图

Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: liburcu-bp.so.1()(64bit)
Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: pyxattr
Error: Package: glusterfs-server-3.7.11-2.el6.x86_64 (glusterfs-epel)
           Requires: liburcu-cds.so.1()(64bit

解决方法:

#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#yum clean all 
#yum install -y glusterfs-server     //安装成功。
参考:http://www.wtoutiao.com/p/f6euAP.html
至此解决此问题。搜了很多文章,还是这个方法靠谱!

Responses