CentOS 6 Enterprise (cPanel installed) and Git installation

i’m angry for centos and yum, everething i wanted to install is some problem, nevermind. Today i need git server repository so lets go 🙂 u think yum install git ? oh no not to fast.


root@web1vau [~]# yum install git git-daemon
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package git-daemon.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: xinetd for package: git-daemon-1.7.1-2.el6_0.1.x86_64
--> Running transaction check
---> Package git.x86_64 0:1.7.1-2.el6_0.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-2.el6_0.1 for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-2.el6_0.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-2.el6_0.1.x86_64
---> Package xinetd.x86_64 2:2.3.14-35.el6_3 will be installed
--> Finished Dependency Resolution
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (base)
Requires: perl(Git)
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (base)
Requires: perl-Git = 1.7.1-2.el6_0.1
Error: Package: git-1.7.1-2.el6_0.1.x86_64 (base)
Requires: perl(Error)
You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
exim-4.80-0.x86_64 has missing requires of perl(SafeFile)
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0

so man ! Go away, what do u want from me 😛 Solution is simple


yum install git --disableexcludes=main --skip-broken

but why every time i want to install some simple it is so hard!

@source http://serverfault.com/questions/337399/cant-install-git-on-a-centos-6-0-x64