Can anyone help me install git on one of my EC2 boxes?
When I run:
sudo yum install git
I get:
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.2.1-1.el6 will be installed
--> Processing Dependency: perl-Git = 1.8.2.1-1.el6 for package: git-1.8.2.1-1.el6.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.2.1-1.el6.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.2.1-1.el6.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.2.1-1.el6.x86_64
--> Running transaction check
---> Package perl-Error.noarch 1:0.17020-1.7.amzn1 will be installed
---> Package perl-Git.noarch 0:1.8.2.1-1.el6 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package: perl-Git-1.8.2.1-1.el6.noarch
---> Package perl-TermReadKey.x86_64 0:2.30-18.8.amzn1 will be installed
--> Finished Dependency Resolution
Error: Package: perl-Git-1.8.2.1-1.el6.noarch (ean_x86_64_repo)
Requires: perl(:MODULE_COMPAT_5.10.1)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I even tried downloading the rpm for the 5.10 perl modules and using:
sudo yum downgrade
It still wouldn't install.
Please help this EC2 instance is used to automatically run performance tests on our services and it has to checkout the tests from a git repo, but I can't even install git. In the past I have built git from source, but I am trying to get this environment to run from chef so would prefer to find a workaround for yum.
I am running on Amazon Linux with the EPEL repos of:
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
git
package is for EL6, but you seem to be on Amazon Linux. They are not compatible.