[CentOS] Yum segmentation fault updating from 5.6 to 5.7

Sebastiano Pilla sebastiano at datafaber.net
Wed Sep 14 22:35:29 UTC 2011


Always Learning wrote:
> On Thu, 2011-09-15 at 00:26 +0200, Sebastiano Pilla wrote:
>
> Can you list, one line for each, the names of the repos
> in /etc/yum.repos.d

[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

>
> And list the entire file for your BASE repo in /etc/yum/repos.d - it is
> probably named something like
>
> 	CentOS-Base.repo

(there may be some additional line wrapping inserted by my mail client)

[root at picard ~]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS 
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


> Also can you do a
>
> 	uname -a
>
> and show us the result.

[root at picard ~]# uname -a
Linux picard.home.lan 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:32:29 EDT 
2011 i686 i686 i386 GNU/Linux

Thank you very much for your help.




More information about the CentOS mailing list