<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://www.stress-free.co.nz"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>stressfree - centos</title>
 <link>https://www.stress-free.co.nz/tech/centos</link>
 <description></description>
 <language>en</language>
<item>
 <title>Fixing yum&#039;s &quot;Metadata file does not match checksum&quot; error</title>
 <link>https://www.stress-free.co.nz/fixing_yums_metadata_file_does_not_match_checksum_error</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;&lt;a href=&quot;http://centos.org/&quot;&gt;Centos&lt;/a&gt; is a &quot;free&quot; distribution of Red Hat Enterprise Linux which I enjoy using. Whilst it does not have Debian&#039;s apt-get for package management it does have &lt;a href=&quot;http://yum.baseurl.org/&quot;&gt;yum&lt;/a&gt;, which is not as fast but still works pretty well in most circumstances. Unfortunately today I ran into a problem in a clean install of Centos 5.3 where yum was returning the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error Message: Metadata file does not match checksum&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A quick look around &quot;&lt;a href=&quot;http://www.theonion.com/content/news_briefs/google_launches_the_google&quot;&gt;the Google&lt;/a&gt;&quot; turned up the relatively simple solution; at the terminal execute as root:&lt;/p&gt;
&lt;p class=&quot;codesnippet&quot;&gt;yum clean all&lt;br /&gt; yum makecache&lt;br /&gt; yum update&lt;/p&gt;
&lt;p&gt;This process will take a little time, but the end result should be a nice, clean yum repository cache, complete with no annoying meta-data errors.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;!--break--&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/linux&quot;&gt;linux&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tutorials&quot;&gt;software tutorials&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/centos&quot;&gt;centos&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Mon, 13 Apr 2009 10:21:30 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">542 at https://www.stress-free.co.nz</guid>
</item>
</channel>
</rss>
