Error Performing Checksum
Contents |
doing a yum update on a centos5 or rhel5 box, using rpms from a
[errno -3] Error Performing Checksum
repository on a centos6 or rhel6 server (or anywhere else with a more modern createrepo available), and you get errors like this: http://example.com/repodata/filelists.sqlite.bz2: [Errno -3] Error performing checksum python-hashlib rpm http://example.com/repodata/primary.sqlite.bz2: [Errno -3] Error performing checksum What this really means that yum is too stupid to calculate the sha256 checksum correctly (and also too stupid to give you a sensible error message like "Sorry, primary.sqlite.bz2 is using a sha256 checksum, but I don't know how to calculate that"). The fix is simple: yum install python-hashlib from either rpmforge or epel, which makes the necessary libraries available for yum to calculate the new checksums correctly. Sorted. View the discussion thread.blog comments powered by Disqus
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red Hat OpenStack Platform
Primary.sqlite.bz2: [errno -3] Error Performing Checksum
Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform python-hashlib rpm centos 5 Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development createrepo sha1 and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio http://www.openfusion.net/linux/yum_error_performing_checksum JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos https://access.redhat.com/solutions/2047453 Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Out Language Back English español Deutsch italiano 한국어 français 日本語 português 中文 (中国) русский Customer Portal Search Products & Services Back View All Products Infrastructure and Management Back Red Hat Enterprise Linux Red Hat Virtualization Red Hat Identity Management Red Hat Directory Server Red Hat Certificate System Red Ha
Sign in Pricing Blog Support Search GitHub This repository Watch 1,773 Star 18,829 Fork 6,414 elastic/elasticsearch Code Issues 1,032 Pull requests https://github.com/elastic/elasticsearch/issues/6498 88 Projects 0 Pulse Graphs New issue RPM repository broken on RHEL5: «Error performing checksum» #6498 Closed gioele opened this Issue Jun 13, 2014 · 5 comments Projects None yet Labels :Packaging Milestone No milestone Assignees spinscale 5 participants gioele commented Jun 13, 2014 Yum complains about wrong checksums when the RPM repository is error performing used in RHEL 5: $ yum list Loaded plugins: rhnplugin, security This system is receiving updates from RHN Classic or RHN Satellite. elasticsearch-0.90/primary_db | 9.1 kB 00:00 http://packages.elasticsearch.org/elasticsearch/0.90/centos/repodata/primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror. Error: failure: repodata/primary.sqlite.bz2 from elasticsearch-0.90: [Errno 256] No more mirrors to try. This problem has been dissected in this blog post: http://prefetch.net/blog/index.php/2009/11/26/dealing-with-yum-checksum-errors/. error performing checksum The solution is to create the repositores using createrepo with the -s sha1 option that enables the creation of SHA1 checksums instead of SHA256. electrical commented Jun 13, 2014 Ahh, very interesting. i wasn't aware of this. An other issue that CentOS 5 users have reported is that we sign with a to newer version of the signature ( version 4 versus version 3 what centos5 supports ) That might be the next issue you might encounter. I haven't been able to solve the signature issue yet but i think we can solve the SHA issue. I'll do some tests and update the issue when i find something. electrical self-assigned this Jun 13, 2014 clintongormley added the :Packaging label Dec 30, 2014 sergei-maertens commented Apr 30, 2015 what's the status of this? I'm having the same problem on CentOS 5.11 and would prefer to install/update via yum instead of sources. spinscale assigned spinscale and unassigned electrical May 4, 2015 elastic member spinscale commented May 4, 2015 Hey I just checked