[Gluster-users] yum install glusterfs-server install failed - dependency issue

Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] uthra.r.rao at nasa.gov
Mon Nov 16 18:53:55 UTC 2015


Niels,

Thank you for the reply. In my case since It is a RHEL7 server I had both Red hat repo and glusterfs-epel.repo installed and yum was picking up the gluster packages that Red Hat provided. To force yum to install the packages from glusterfs-epel.repo, I had to install " yum-plugin-priorities" and in the 
glusterfs-epel.repo set "priority=50". This helped in installing the glusterfs-server with all its dependencies.

Thank you.
Uthra



-----Original Message-----
From: Niels de Vos [mailto:ndevos at redhat.com] 
Sent: Monday, November 16, 2015 3:55 AM
To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] yum install glusterfs-server install failed - dependency issue

On Fri, Nov 13, 2015 at 06:10:58PM +0000, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote:
> On my RHEL7.1 system I have installed the following packages from the glusterfs-epel.repo:
> 
> # rpm -qa | grep gluster
> glusterfs-libs-3.6.0.29-2.el7.x86_64
> glusterfs-fuse-3.6.0.29-2.el7.x86_64
> glusterfs-3.6.0.29-2.el7.x86_64
> glusterfs-api-3.6.0.29-2.el7.x86_64
> 
> Now when I try to install the glusterfs-server package I am getting the following dependency error:

It seems that you are trying to install glusterfs-server-3.7.6-1.el7.
You need to take care that all glusterfs-* packages are the same version. I am not sure why yum does not find the updates for the older glusterfs packages when you have glusterfs-epel.repo enabled.

Could you try the following:

  # yum clean metadata
  # yum update 'glusterfs*'
  # yum install glusterfs-server

Thanks,
Niels

> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> # yum -y install glusterfs-server
> Loaded plugins: langpacks, product-id, protectbase, 
> subscription-manager
> 46 packages excluded due to repository protections Resolving 
> Dependencies
> --> Running transaction check
> ---> Package glusterfs-server.x86_64 0:3.7.6-1.el7 will be installed
> --> Processing Dependency: glusterfs-libs = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs-fuse = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs-client-xlators = 3.7.6-1.el7 for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs-cli = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.7.0)(64bit) 
> --> for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.4.0)(64bit) 
> --> for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.7.4)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.7.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.6.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.5.1)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.4.2)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: liburcu-cds.so.1()(64bit) for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: liburcu-bp.so.1()(64bit) for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Running transaction check
> ---> Package glusterfs-client-xlators.x86_64 0:3.7.6-1.el7 will be 
> ---> installed Package glusterfs-server.x86_64 0:3.7.6-1.el7 will be 
> ---> installed
> --> Processing Dependency: glusterfs-libs = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs-fuse = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs-cli = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: glusterfs = 3.7.6-1.el7 for package:
> --> glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.7.0)(64bit) 
> --> for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.4.0)(64bit) 
> --> for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.7.4)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.7.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.6.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.5.1)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.4.2)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> --> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for
> --> package: glusterfs-server-3.7.6-1.el7.x86_64
> ---> Package userspace-rcu.x86_64 0:0.7.9-1.el7 will be installed
> --> Finished Dependency Resolution
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_PRIVATE_3.4.0)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.5.1)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.7.0)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: glusterfs-libs = 3.7.6-1.el7
>            Installed: glusterfs-libs-3.6.0.29-2.el7.x86_64 (@rhel-7-server-rpms)
>                glusterfs-libs = 3.6.0.29-2.el7
>            Available: glusterfs-libs-3.4.0.59rhs-1.el7.x86_64 (rhel-7-server-rpms)
>                glusterfs-libs = 3.4.0.59rhs-1.el7
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.4.2)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.7.4)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: glusterfs = 3.7.6-1.el7
>            Installed: glusterfs-3.6.0.29-2.el7.x86_64 (@rhel-7-server-rpms)
>                glusterfs = 3.6.0.29-2.el7
>            Available: glusterfs-3.4.0.59rhs-1.el7.x86_64 (rhel-7-server-rpms)
>                glusterfs = 3.4.0.59rhs-1.el7
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: glusterfs-cli = 3.7.6-1.el7
>            Available: glusterfs-cli-3.6.0.29-2.el7.x86_64 (rhel-7-server-optional-rpms)
>                glusterfs-cli = 3.6.0.29-2.el7
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: glusterfs-fuse = 3.7.6-1.el7
>            Installed: glusterfs-fuse-3.6.0.29-2.el7.x86_64 (@rhel-7-server-rpms)
>                glusterfs-fuse = 3.6.0.29-2.el7
>            Available: glusterfs-fuse-3.4.0.59rhs-1.el7.x86_64 (rhel-7-server-rpms)
>                glusterfs-fuse = 3.4.0.59rhs-1.el7
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_PRIVATE_3.7.0)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.6.0)(64bit)
> Error: Package: glusterfs-server-3.7.6-1.el7.x86_64 (glusterfs-epel)
>            Requires: libgfapi.so.0(GFAPI_3.4.0)(64bit)  You could try 
> using --skip-broken to work around the problem  You could try running: 
> rpm -Va --nofiles --nodigest
> [root at spdfstorage1 log]#
> [root at spdfstorage1 log]#
> [root at spdfstorage1 log]#
> [root at spdfstorage1 log]# rpm -qa | grep gluster
> glusterfs-libs-3.6.0.29-2.el7.x86_64
> glusterfs-fuse-3.6.0.29-2.el7.x86_64
> glusterfs-3.6.0.29-2.el7.x86_64
> glusterfs-api-3.6.0.29-2.el7.x86_64
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Looks like the dependencies that glusterfs-server-3.7.6-1.el7 needs are not updated in the repo. I am unable to install the glusterfs-server because the problem with Dependency Resolution.
> 
> Has anybody out there had this issue? If you could share your solution I would really appreciate it.
> 
> Thank you.
> Uthra
> 
> 
> 

> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list