I am trying to install git using my yum commandFollowing is the error logLoaded plugins: product-id, refresh-packagekit, security, subscription-managerUpdating certificate-based repositories.Unable to read consumer identitySetting up Install ProcessResolving Dependencies--> Running transaction check---> Package git.x86_64 0:1.8.2.1-1.el5 will be installed--> Processing Dependency: perl-Git = 1.8.2.1-1.el5 for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: perl(Git) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: perl(Error) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libssl.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libexpat.so.0()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libcrypto.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Running transaction check---> Package git.x86_64 0:1.8.2.1-1.el5 will be installed--> Processing Dependency: libssl.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libexpat.so.0()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.8.2.1-1.el5.x86_64--> Processing Dependency: libcrypto.so.6()(64bit) for package: git-1.8.2.1-1.el5.x86_64---> Package perl-Error.noarch 1:0.17010-1.el5 will be installed--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: 1:perl-Error-0.17010-1.el5.noarch---> Package perl-Git.x86_64 0:1.8.2.1-1.el5 will be installed--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Git-1.8.2.1-1.el5.x86_64---> Package perl-TermReadKey.x86_64 0:2.30-4.el5 will be installed--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-TermReadKey-2.30-4.el5.x86_64--> Finished Dependency ResolutionError: Package: git-1.8.2.1-1.el5.x86_64 (epel)           Requires: libssl.so.6()(64bit)Error: Package: git-1.8.2.1-1.el5.x86_64 (epel)           Requires: libexpat.so.0()(64bit)Error: Package: perl-Git-1.8.2.1-1.el5.x86_64 (epel)           Requires: perl(:MODULE_COMPAT_5.8.8)Error: Package: git-1.8.2.1-1.el5.x86_64 (epel)           Requires: libcrypto.so.6()(64bit)Error: Package: perl-TermReadKey-2.30-4.el5.x86_64 (epel)           Requires: perl(:MODULE_COMPAT_5.8.8)Error: Package: 1:perl-Error-0.17010-1.el5.noarch (epel)           Requires: perl(:MODULE_COMPAT_5.8.8)Error: Package: git-1.8.2.1-1.el5.x86_64 (epel)           Requires: libcurl.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigestThe command yum repolistLoaded plugins: product-id, refresh-packagekit, security, subscription-managerUpdating certificate-based repositories.Unable to read consumer identityrepo id                                                                     repo name                                                                                                          statusepel                                                                        Extra Packages for Enterprise Linux 5 - x86_64                                                                      7,351rpmforge                                                                    RHEL 6Server - RPMforge.net - dag                                                                                  11,275repolist: 18,626Please help me install and resolve these missing dependenciesuname --kernel-release2.6.32-279.el6.x86_64
Installing Git Unit
centos;package management;yum;git
Try disabling the RPMForge repoDo the command as follows:$ sudo yum --disablerepo=rpmforge install gitThe repositories EPEL and RPMForge don't get along that well.Mixing EPEL6 repos with EPEL5?If the above doesn't resolve the issue then it would appear that you're mixing EPEL6 repositories with your CentOS 5 installation. In looking at a CentOS 5 installation I have here I have the following repositories:$ yum repolistLoaded plugins: fastestmirrorrepo id                                  repo name                                                                            statusbase                                     CentOS-5 - Base                                                                       3,641convirt                                  ConVirt repository                                                                        4convirt-dep                              ConVirt Dependencies                                                                      7elrepo                                   ELRepo.org Community Enterprise Linux Repository - el5                                  412extras                                   CentOS-5 - Extras                                                                       270rpmforge                                 RHEL 5 - RPMforge.net - dag                                                          11,275updates                                  CentOS-5 - Updates                                                                      447repolist: 16,056See what versions of git I have outside of RPMForge:$ sudo yum --disablerepo=rpmforge list all git*Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirror.nexcess.net * elrepo: elrepo.org * extras: centos.mirrors.tds.net * updates: mirrors.einstein.yu.eduInstalled Packagesgit.x86_64                                                1.7.10.4-1.el5.rf                                                installedThe above shows that if I disable RPMForge, the only version of git available for my mix of repos is the one coming from RPMForge, and the latest version is 1.7.Given this It would appear that you're mixing a package from CentOS 6, would be my guess.ReferencesIs it stable to use epel and rpmforge in the same time?Installing RPMforge