Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Always Learning wrote: Please try one thing for me yum install httpd It does not matter whether or not you have this already installed. I am curious to know what type of response you get. You do not have to install this. It is the reaction from yum that interests me, so you can

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Keith Roberts wrote: On Thu, 15 Sep 2011, Sebastiano Pilla wrote: -rw-r--r-- 1 root root 4.6K Feb 8 2011 CentOS-Vault.repo Do you need CentOS-Vault, as it includes all the packages from Centos 5.x upwards IIRC? It's in there by default, since the first install on the box. All

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Craig White wrote: make sure that there isn't any yum/rpm processes running... ps aux|grep yum ps aux|grep rpm Once you've determined they aren't running, try... yum clean metadata yum clean dbcache (those should be executed when you execute 'yum clean all' but maybe it ain't gettin'

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Alain Péan wrote: What if you delete (or save elsewhere) the primary.xml.gz.sqlite file ? If it is corrupted, it would do no arm, and perhaps it is no more used or regenerated if it missing ? This doesn't work unfortunately, yum always creates the same corrupted file: - here I use yum to

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Craig White wrote: mv /var/cache/yum/base/primary.xml.gz/sqlite /tmp and try again I suppose - yes, that file is supposed to be much larger - I suspect that it will create a new 'copy' of that file if it fails to find it. Unfortunately yum recreates the same corrupted file, even if I move it

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Craig White wrote: On Sep 15, 2011, at 2:45 PM, Sebastiano Pilla wrote: Craig White wrote: mv /var/cache/yum/base/primary.xml.gz/sqlite /tmp and try again I suppose - yes, that file is supposed to be much larger - I suspect that it will create a new 'copy' of that file if it fails to find

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Brian Miller wrote: Sorry if this has been suggested already - have you tried running with all plugins disabled? 'yum --noplugins check-update' This wasn't suggested yet, but I did try it at some point. I've just tried again and the result is the same: [root@picard ~]# yum clean all Loaded

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Sebastiano Pilla
Josh Miller wrote: On 09/15/2011 02:45 PM, Sebastiano Pilla wrote: Craig White wrote: mv /var/cache/yum/base/primary.xml.gz/sqlite /tmp and try again I suppose - yes, that file is supposed to be much larger - I suspect that it will create a new 'copy' of that file if it fails to find

[CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one of them yum is failing with a segmentation fault: the error happens when yum is checking the 'base' repository. [root@picard yum]# yum update Loaded plugins: downloadonly, fastestmirror, priorities Determining fastest

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Always Learning wrote: On Wed, 2011-09-14 at 23:56 +0200, Sebastiano Pilla wrote: I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one of them yum is failing with a segmentation fault: the error happens when yum is checking the 'base' repository. Have you tried

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
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@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