LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-23-2012, 09:11 PM   #1
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Rep: Reputation: 3
Metadata does not match checksum


So i am trying to connect to a repo in Centos.
here is the /etc/yum.repos.d/Cloudera-cdh4.repo file
Code:
[cloudera-local]
name=Cloudera's Distribution for Hadoop, Version 4
baseurl=http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/
gpgkey = http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM=GPG-KEY-cloudera
gpgcheck =1
enabled =1
~
now when i run the following i get the error
Code:
[root@example /]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning repos: base cloudera-local extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@example /]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
 * base: centos.aol.com
 * extras: centos.mirror.freedomvoice.com
 * updates: centos-distro.cavecreek.net
base                                                     | 3.7 kB     00:00     
base/primary_db                                          | 4.5 MB     00:02     
cloudera-local                                           |  951 B     00:00     
cloudera-local/primary                                   |  22 kB     00:00 ... 
http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
cloudera-local/primary                                   |  22 kB     00:00 ... 
http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from cloudera-local: [Errno 256] No more mirrors to try.
[root@example /]#
I am at a loss and have no idea what i can do to try to solve this issue. i have went through this link and tried everything they said and it also didn't work http://www.linuxquestions.org/questi...-mirro-462093/

also if i disable this cloudera repo i can go out and use YUM

Last edited by malak33; 08-23-2012 at 09:13 PM. Reason: added to the end
 
Old 08-23-2012, 10:04 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
If 'yum clean all' doesn't resolve the issue, then the problem is on the repository side and there's nothing you can do other than to temporarily disable the repo as you've done. Once the admins for the repo resolve the issue, it will work. If you have a contact for the repository, you can report the issue if it persists for several days.
 
1 members found this post helpful.
Old 08-23-2012, 11:35 PM   #3
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
Thanks for the info, i had no idea. I wish i could have the last 6 hours back trying a whole bunch of different things.
 
  


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
Prob with yum: [Errno -1] Metadata file does not match checksum Trying other mirro tor_user Fedora 26 10-21-2015 07:37 PM
Metadata file does not match checksum error olracdor Linux - Newbie 1 11-16-2008 04:59 AM
Livna - Metadata file does not match checksum captainxark Fedora 1 07-29-2008 08:14 PM
YUM - Metadata file does not match checksum erolleman Fedora 3 06-15-2007 03:54 PM
metadata file does not match checksum ? anilbh Fedora 4 04-15-2007 12:08 PM

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

All times are GMT -5. The time now is 04:38 PM.

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