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:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install the latest version of Git using yum and the RPM repository on, but adding the repo to yum.repos.d causes yum to fail with checksum errors.

The prevailing solution to this issue seems to be to simply use the repository at Webtatic as answered here on superuser. I know I can also install an older version of Git using the EPEL repo, or compile from the latest source tarball, but honestly I want to understand why I'm having issues using the repo.

Here’s the workflow, after a clean install of CentOS 5.5 and "yum update":

[root]# wget -P /etc/yum.repos.d/  
[root]# yum clean all  
[root]# yum repolist   
Loaded plugins: fastestmirror  
Determining fastest mirrors  
 * addons:  
 * base:  
 * epel:  
 * extras:  
 * updates:  
addons            |  951 B     00:00       
addons/primary    |  202 B     00:00       
base              | 2.1 kB     00:00       
base/primary_db   | 1.6 MB     00:01       
epel              | 3.7 kB     00:00       
epel/primary_db   | 2.8 MB     00:01       
extras            | 2.1 kB     00:00       
extras/primary_db | 188 kB     00:00       
git               | 1.2 kB     00:00       
git/primary       | 155 kB     00:00 [Errno -3] Error performing checksum  
Trying other mirror.  
git/primary       | 155 kB     00:00 [Errno -3] Error performing checksum  
Trying other mirror.  
Error: failure: repodata/primary.xml.gz from git: [Errno 256] No more mirrors to try.  

Any suggestions as to a solution, or details why the repo has this issue?

(Sorry I can't include more links to my references, but I don't have the reputation for that yet.)

share|improve this question

I found myself in the same situation and solved with the following:

  1. Temporarily disable the git repo
  2. yum install python-hashlib
  3. Verified my yum version (I had 3.2.22)
  4. yum clean all
  5. yum repolist

I then tried to update git, but there were a lot of dependencies failing. I stumbled upon this and was able to install git:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .