[CentOS] Yum segmentation fault updating from 5.6 to 5.7

Thu Sep 15 12:01:24 UTC 2011
sebastiano at datafaber.net <sebastiano at datafaber.net>

On Thu, 15 Sep 2011 00:01:23 +0100, Always Learning wrote:
> On Thu, 2011-09-15 at 00:35 +0200, Sebastiano Pilla wrote:
>
>> [root at picard ~]# ll /etc/yum.repos.d/
>> total 20K
>> -rw-r--r-- 1 root root 1.9K Feb  8  2011 CentOS-Base.repo
>> -rw-r--r-- 1 root root  631 Feb  8  2011 CentOS-Debuginfo.repo
>> -rw-r--r-- 1 root root  626 Feb  8  2011 CentOS-Media.repo
>> -rw-r--r-- 1 root root 4.6K Feb  8  2011 CentOS-Vault.repo
>
> Please add an extra repo to the same directory
>
> name: (your own choice) - something like this: centos-cr.repo
>
> ---------------contents---------------------
>
> # CentOS-CR.repo
> #
> # The continuous release  ( CR ) repository contains rpms from the
> # next point release of CentOS, which isnt itself released as yet.
> #
> # Look at http://wiki.centos.org/AdditionalResources/Repositories/CR
> # for more details about how this repository works and what users
> # should expect to see included / excluded
>
> [cr]
> name=CentOS-$releasever - CR
> baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/
> gpgcheck=1
> enabled=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
>
> -------end------------------ (do not include this line)

I get the same segmentation fault, I don't think that adding this new 
repository is going to change the fact that somehow the files for the 
base repository are corrupted:

[root at picard yum.repos.d]# yum clean all
Loaded plugins: downloadonly, fastestmirror, priorities
Cleaning up Everything
Cleaning up list of fastest mirrors
[root at picard yum.repos.d]# yum install httpd
Loaded plugins: downloadonly, fastestmirror, priorities
Determining fastest mirrors
  * base: mirror.opendoc.net
  * extras: mirror.opendoc.net
  * updates: mirror.opendoc.net
base                                                    | 1.1 kB     
00:00
base/primary                                            | 961 kB     
00:00
Segmentation fault