LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-25-2014, 12:40 PM   #1
tom_morse
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 1
error performing checksum from yum --security check-update


On my CentOS 5.1 server when I execute
yum --security check-update
it fails with messages like

"...
epel/updateinfo | 514 kB 00:00
http://mirror.seas.harvard.edu/epel/...teinfo.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
... (then finally) ...
Error: failure: repodata/73f710ca75f4879d6e4c7c08c4bac44f3a3b50f57756e5d711665bcd40e735cf-updateinfo.xml.gz from epel: [Errno 256] No more mirrors to try.
#"

I have tried various solutions such as updating all the packages (system is up to date) and yum clean commands etc.. Any clues as to why the inability to check for security updates?
Thanks for your time!
 
Old 03-25-2014, 01:41 PM   #2
oxygen3
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
I am having the same issue with both 32 and 64bit systems trying to update from epel. I posted in the epel IRC channel on freenode last night. I found some information mentioning this exact issue and a brief explanation: http://seriousbirder.com/blogs/yum-e...hecksum-error/

The checksum type used in repomd.xml and for packages in the metadata can be sha256 or older sha1 or sha. The default is now “sha256″, all RHEL 6 or Centos 6 kernels use sha256 by default when createrepo is run. If your repository was created on a RHEL 6 system and a RHEL 5 client is running a yum install, this is where the problem will arise. The older yum version 3.0 doesn’t support the sha256 checksum and can only support sha, and not sha1. Yum 3.0 must use sha. So the fix is simple, try to create your repo using sha instead of the default sha256.

It looks like the files were updated on March 22nd 2014. I am wondering if whoever made the changes did so using a newer version of yum (sha256).
 
Old 03-25-2014, 03:50 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
is this a typo ???
Quote:
CentOS 5.1
centos 5.1 is 9 versions and 6 years out of date
the repos for 5.1 were moved 6 years ago to the historic archive

there have been NO updates( security or any) for centos 5.1 for SIX YEARS

you will have problems
ones that are UNSOLVABLE

if you NEED the older legacy version of cent5
upgrade / install the current CentOS 5.10
 
Old 03-26-2014, 06:59 PM   #4
oxygen3
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
I found another site describing the same issue:

http://blog.debroglie.net/2011/08/19...ming-checksum/
 
Old 03-26-2014, 07:00 PM   #5
oxygen3
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
I found another site describing the same issue:

http://blog.debroglie.net/2011/08/19...ming-checksum/
 
Old 03-27-2014, 05:50 AM   #6
tom_morse
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by John VV View Post
is this a typo ???

centos 5.1 is 9 versions and 6 years out of date
the repos for 5.1 were moved 6 years ago to the historic archive

there have been NO updates( security or any) for centos 5.1 for SIX YEARS

you will have problems
ones that are UNSOLVABLE

if you NEED the older legacy version of cent5
upgrade / install the current CentOS 5.10
We have been continuously updating our system with security and application packages:
From the centos wiki: http://wiki.centos.org/FAQ/General
item 21, the end of life of CentOS 5 is updates until Mar 31, 2017.

The last security packages were from 2013. Here is more system data:

$ uname -a
Linux hostname.was.printed.here 2.6.18-371.el5 #1 SMP Tue Oct 1 08:37:57 EDT 2013 i686 i686 i386 GNU/Linux
$ cat /etc/redhat-release
CentOS release 5.10 (Final)
$
 
Old 03-27-2014, 06:38 AM   #7
tom_morse
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 1
** FIXED **
I found a fix based on a post from NeoZer0 two years ago with the phrase "RHEL 5 issue" near the bottom of this page:
https://github.com/dagwieers/mrepo/issues/29
The wget link NeoZer0 supplied is broken however the following equivalent commands worked on my system:

sudo yum install python-devel
(I found python-devel was already installed)
sudo yum install python-hashlib
(this installed the package
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-hashlib i386 20081119-4.el5 epel 12 k

Transaction Summary
================================================================================
)
Then the 'yum --security check-update' command was fixed:
$ sudo yum --security check-update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.seas.harvard.edu
* extras: mirrors.advancedhosters.com
* updates: mirror.trouble-free.net
Limiting package lists to security relevant ones
No packages needed, for security, 0 available
$
 
1 members found this post helpful.
Old 03-27-2014, 10:18 AM   #8
oxygen3
LQ Newbie
 
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
YES! Tom, thank you! That fixed the issue!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum check-update Brandon9000 Linux - Software 11 04-13-2012 03:45 PM
[SOLVED] Slackware pkg update - CHECKSUM.md5 error madsovenielsen Slackware 4 08-09-2011 10:27 AM
fc9 yum errors with rpmfusion(Error performing checksum) knockout_artist Linux - Newbie 1 05-12-2009 04:02 AM
Checksum error doing media check Fedora 10 cd's just burnt ETRadix Linux - Newbie 2 12-26-2008 01:46 PM
yum update Transaction Check Error JonBL Linux - Software 21 08-10-2007 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration