Error Package Git-1.7.4.1-1.el5.x86_64 Epel
systems with the EPEL repository enabled. # yum repolist ... base CentOS-6 - Base 6,294 epel Extra Packages for Enterprise Linux 5 - x86_64 7,048 extras CentOS-6 - Extras 6 When you try to install git, perl dependencies cannot seem to be resolved. # yum install git ... --> Running transaction check ---> Package compat-expat1.x86_64 0:1.95.8-8.el6 will be installed ---> Package git.x86_64 0:1.7.4.1-1.el5 will be installed --> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.7.4.1-1.el5.x86_64 ---> Package openssl098e.x86_64 0:0.9.8e-17.el6.centos.2 will be installed ---> Package perl-Git.x86_64 0:1.7.4.1-1.el5 will be installed --> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Git-1.7.4.1-1.el5.x86_64 --> Finished Dependency Resolution Error: Package: git-1.7.4.1-1.el5.x86_64 (epel) Requires: libcurl.so.3()(64bit) Error: Package: perl-Git-1.7.4.1-1.el5.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.8.8) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Seems like some conflicts occur whenever the EPEL repo is activated. A workaround is to run the yum install without the EPEL repo enabled, so everything is loaded from the base repositories and the dependencies can be resolved correctly. # yum install git --disablerepo=epel You'll still run into problems with a 'yum update' later on, so you may have to permanently exclude both perl and git from the EPEL repositories. # cat /etc/yum.repos.d/epel.repo [epel] name=Extra Packages for Enterprise Linux 5 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL exclude=perl* git* By adding the last line in the first repo-block of the /etc/yum.repos.d/epel.repo file, you tell Yum to stop looking for updates to those packages in that repository. That will at least help until this dependency problem has been resolved within EPEL. Hi! My name is Mattias Geniar. I'm a Support Manager at Nucleus Hosting in Belgium, a general web geek, publi
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted https://ma.ttias.be/dependency-errors-for-git-installs-on-centos-with-epel-repo/ up and rise to the top Centos 6, Plesk 11, EPEL 6 install problems up vote 0 down vote favorite I'm having a real headache configuring a new server. It's a 64bit Linux box with Centos 6 and Plesk 11. This will be a Magento server, so I need mcrypt installed, which isn't available by default. I've installed EPEL 6, confirmed here: [root@ds-xxxxxxx ~]# yum repolist Loaded plugins: http://serverfault.com/questions/408636/centos-6-plesk-11-epel-6-install-problems fastestmirror, priorities Loading mirror speeds from cached hostfile * base: centos.mirroring.pulsant.co.uk * epel: mirror.affix.me * extras: centos.mirroring.pulsant.co.uk * rpmforge: www.mirrorservice.org * updates: centos.mirroring.pulsant.co.uk repo id repo name status base CentOS-6 - Base 6,346 epel Extra Packages for Enterprise Linux 6 - x86_64 7,070 extras CentOS-6 - Extras 4 rpmforge RHEL 6 - RPMforge.net - dag 4,392 updates CentOS-6 - Updates 165 repolist: 17,977 [root@xxxxxx ~]# But when I run a yum update, it looks like it's trying to load el5 & el6 extensions/modules so causes an issue; # yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: centos.mirroring.pulsant.co.uk * epel: mirror.affix.me * extras: centos.mirroring.pulsant.co.uk * rpmforge: www.mirrorservice.org * updates: centos.mirroring.pulsant.co.uk Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be updated ---> Package git.x86_64 0:1.7.4.1-1.el5 will be an update --> Processing Dependency: libcrypto.so.6()(64bit) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: libexpat.so.0()(64bit) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: libssl.so.6()(64bit) for package: git-1.7.4.1-1.el5.x86_64 ---> Package libarchive.x86_64 0:2.8.3-4.el6_2 will be updated ---> Package libarchive.x86_64 0:2.8.4-5.el5 will be an update ---> Package mod_wsgi.x86_64 0:3.2-1.el6 will be updated ---> Package mod_wsgi.x86_64 0:3.2-2.el5 will be an update --> Processing Dependency: li
yum install git --disablerepo=epel # yum repolist # yum install git --disablerepo=epel Here are the errors I was getting: 1 2 https://www.ericmichaelstone.com/?p=5218 3 4 5 6 7 8 9 10 11 12 13 14 http://superuser.com/questions/395010/how-can-i-install-git-on-a-centos-system-without-an-internet-connection 15 16 17 18 19 20 21 22 23 24 25 26 root@dev:/root # yum install git Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * epel: mirror.symnds.com amzn error package | 2.1 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.4.1-1.el5 set to be updated error package git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: perl-Git = 1.7.4.1-1.el5 for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.7.4.1-1.el5.x86_64 --> Running transaction check ---> Package git.x86_64 0:1.7.4.1-1.el5 set to be updated --> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.7.4.1-1.el5.x86_64 ---> Package perl-Error.noarch 1:0.17015-4.4.amzn1 set to be updated ---> Package perl-Git.x86_64 0:1.7.4.1-1.el5 set to be updated --> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Git-1.7.4.1-1.el5.x86_64 --> Finished Dependency Resolution Error: Package: git-1.7.4.1-1.el5.x86_64 (epel) Requires: libcurl.so.3()(64bit) Error: Package: perl-Git-1.7.4.1-1.el5.x86_64 (epel) Requires: perl(:MODULE_COMPAT_5.8.8) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest root@dev:/root # yum install git Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * epel: mirror.symnds.com amzn | 2.1 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.4.1-1.el5 set to be updated --> Processing Dependency: perl-Git = 1.7.4.1-1.el5 for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.4.1-1.el5.x86_64 --> Processing Dependency: perl(Git)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How can I install git on a CentOS system without an internet connection? up vote 0 down vote favorite I need to install git on a CentOS 5.6 64-bit system, but I do not have an internet connection, so I can't simply download it through yum. Also, I do not have gcc installed, so I cannot build it from source, unless gcc can be installed without a connection as well. I have searched for an RPM that I can download and transfer via flash drive, but I haven't been able to find one. If anyone has any suggestions, it would be much appreciated. EDIT As per qweet's instructions, I downloaded the rpms and attempted to install them, but got the errors below: $ sudo rpm -i perl-5.8.8-32.el5_6.3.x86_64.rpm warning: perl-5.8.8-32.el5_6.3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 file /usr/bin/a2p from install of perl-5.8.8-32.el5_6.3.x86_64 conflicts with file from package perl-5.8.8-32.el5_5.2.x86_64 file /usr/bin/perl from install of perl-5.8.8-32.el5_6.3.x86_64 conflicts with file from package perl-5.8.8-32.el5_5.2.x86_64 file /usr/bin/perl5.8.8 from install of perl-5.8.8-32.el5_6.3.x86_64 conflicts with file from package perl-5.8.8-32.el5_5.2.x86_64 file /usr/lib/perl5/5.8.8/CGI.pm from install of perl-5.8.8-32.el5_6.3.x86_64 conflicts with file from package perl-5.8.8-32.el5_5.2.x86_64 file /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/COR