Wednesday, July 17, 2013

Installing MyProxy on CentOS 6.x with Yum

While trying to install Globus 5.2.4 using yum on CentOS 6.4 following the quick start instructions (http://www.globus.org/toolkit/docs/5.2/5.2.4/admin/quickstart/), I hit the following error with "yum install myproxy":

yum install myproxy
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * extras: mirror.atlanticmetro.net
 * updates: centos.mirrors.tds.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package myproxy.x86_64 0:5.9-8.el6 will be installed
--> Processing Dependency: myproxy-libs = 5.9-8.el6 for package: myproxy-5.9-8.el6.x86_64
--> Processing Dependency: voms-clients for package: myproxy-5.9-8.el6.x86_64
--> Processing Dependency: libvomsapi.so.1()(64bit) for package: myproxy-5.9-8.el6.x86_64
--> Processing Dependency: libmyproxy.so.5()(64bit) for package: myproxy-5.9-8.el6.x86_64
--> Running transaction check
---> Package myproxy.x86_64 0:5.9-8.el6 will be installed
--> Processing Dependency: voms-clients for package: myproxy-5.9-8.el6.x86_64
--> Processing Dependency: libvomsapi.so.1()(64bit) for package: myproxy-5.9-8.el6.x86_64
---> Package myproxy-libs.x86_64 0:5.9-8.el6 will be installed
--> Processing Dependency: libvomsapi.so.1()(64bit) for package: myproxy-libs-5.9-8.el6.x86_64
--> Finished Dependency Resolution
Error: Package: myproxy-5.9-8.el6.x86_64 (Globus-Updates)
           Requires: voms-clients
Error: Package: myproxy-libs-5.9-8.el6.x86_64 (Globus-Updates)
           Requires: libvomsapi.so.1()(64bit)
Error: Package: myproxy-5.9-8.el6.x86_64 (Globus-Updates)
           Requires: libvomsapi.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

My colleague Suresh Marru reported this (http://lists.globus.org/pipermail/gt-user/2012-April/010281.html) and got a pithy response about needing to enable the EPEL repository (http://lists.globus.org/pipermail/gt-user/2012-April/010283.html).  This link explains what you need to do: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x.  Yum installation for the MyProxy packages worked fine after this.

As Suresh says in his email, the yum/rpm packaging for Globus installation on RHEL is very nice.  Hopefully they will improve this bit of documentation for CentOS users.