Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to fix error while installing GIT in Centos 6.x and cPanel  (Read 4682 times)

0 Members and 1 Guest are viewing this topic.

lijeshk

  • Guest
How to fix error while installing GIT in Centos 6.x and cPanel
« on: October 30, 2013, 07:12:28 pm »

You may get the following error while installing GIT:

---
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64
--> Finished Dependency Resolution
Error: Package: git-1.7.1-3.el6_4.1.x86_64 (updates)
Requires: perl-Git = 1.7.1-3.el6_4.1
Error: Package: git-1.7.1-3.el6_4.1.x86_64 (updates)
Requires: perl(Error)
Error: Package: git-1.7.1-3.el6_4.1.x86_64 (updates)
Requires: perl(Git)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--

To fix this error, you need to run the following command:
 
---
yum install git --disableexcludes=main --skip-broken
--

This is due to cPanel configures yum to exclude perl updates to protect it’s own packages.