Local Repo Error Performing Checksum
Contents |
doing a yum update on a centos5 or rhel5 box, using rpms from a
Python-hashlib Rpm
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 primary.sqlite.bz2: [errno -3] error performing checksum 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
Python-hashlib Rpm Centos 5
CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud createrepo sha1 Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster yum metadata does not match checksum Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal http://www.openfusion.net/linux/yum_error_performing_checksum Red Hat JBoss Operations Network Red Hat JBoss Developer Studio 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 https://access.redhat.com/solutions/24128 Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos 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
Error performing checksum Posted on August 19, 2011 by Pascal On centos 5 yum is complaining with the error:
debroglie/primary_db | 64 kB 00:00
https://blog.debroglie.net/2011/08/19/errno-3-error-performing-checksum/ /> http://centos.debroglie.net/RPMS/5/repodata/primary.sqlite.bz2: [Errno -3] Error performing checksum
The server is now on centos 6 and createrepo is using a hash that centos 5 does not understand by default. I fixed the problem now (createrepo -d -s sha1). If you still have an error try: "yum clean all" first. Thanks to: http://prefetch.net/blog/index.php/2009/11/26/dealing-with-yum-checksum-errors/ This entry was posted in Centos, Debroglie error performing by Pascal. Bookmark the permalink. One thought on “[Errno -3] Error performing checksum” Kyle Anderson on February 20, 2012 at 15:52 said: Thank you very much for giving such a succinct answer. 🙂 Leave a Reply Cancel replyYou must be logged in to post a comment. Connect with: Tagsanafcfweb cctbx Coot crystals dirdif DRAWxtl edensgrid ediffana edma f3d flipsmall Fortran error performing checksum jana moliso newmat objcryst-fox olex2 openopt opix optics optimization platon python2.5 structure solution superflip test-repo tonto-chem valgrind Categories Centos (80) Debroglie (38) Fedora (99) Pascal's diary (23) Release (10) Testing (13) Uncategorized (19) Useful links British crystallography association (BCA) Browse Debroglie repositories Chemical Crystallography Group (BCA/CCG) Oxford chemical crystallography Pascal Parois CV Walking randomly blog X-rayman Crystallography Forum Archives Archives Select Month September 2016 (1) July 2014 (1) September 2013 (2) August 2013 (1) May 2013 (1) April 2013 (1) February 2013 (1) December 2012 (1) August 2012 (2) June 2012 (2) April 2012 (1) March 2012 (1) January 2012 (2) December 2011 (2) October 2011 (2) September 2011 (2) August 2011 (4) July 2011 (3) February 2011 (1) January 2011 (3) November 2010 (2) October 2010 (2) September 2010 (1) August 2010 (4) July 2010 (1) May 2010 (3) March 2010 (4) February 2010 (6) January 2010 (5) December 2009 (6) November 2009 (4) October 2009 (5) September 2009 (11) August 2009 (2) July 2009 (5) June 2009 (1) May 2009 (5) April 2009 (6) March 2