Yum Error Installing Git from kernel.org Repo
Posted
by
Lance
on Super User
See other posts from Super User
or by Lance
Published on 2010-10-22T23:13:03Z
Indexed on
2010/12/25
17:55 UTC
Read the original article
Hit count: 338
I want to install the latest version of Git using yum and the RPM repository on kernel.org, 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 kernel.org repo.
Here’s the workflow, after a clean install of CentOS 5.5 and "yum update":
[root]# wget -P /etc/yum.repos.d/ http://kernel.org/pub/software/scm/git/RPMS/git.repo
[root]# yum clean all
[root]# yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
* addons: mirrors.netdna.com
* base: mirror.clarkson.edu
* epel: serverbeach1.fedoraproject.org
* extras: centos.mirror.nac.net
* updates: mirror.cogentco.com
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
http://www.kernel.org/pub/software/scm/git/RPMS/i386/repodata/primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
git/primary | 155 kB 00:00
http://www.kernel.org/pub/software/scm/git/RPMS/i386/repodata/primary.xml.gz: [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 kernel.org repo has this issue?
(Sorry I can't include more links to my references, but I don't have the reputation for that yet.)
© Super User or respective owner