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

2011-09-16 Thread m . roth
Kahlil Hodgson wrote: On 16/09/11 08:22, Sebastiano Pilla wrote: Based on what I'm seeing, I do not think that yum is downloading a corrupt sqlite database, rather than it is creating a corrupt database all by itself. I have however no definite confirmation of this and I would like to have

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

2011-09-16 Thread sebastiano
On Fri, 16 Sep 2011 09:15:23 -0400, m.r...@5-cent.us wrote: Has anyone in this thread - I may have missed some posts last night - suggested yum reinstall yum? This wasn't suggested yet, so I've tried it and it fails in the same way (not unexpectedly, I would say): [root@picard ~]# yum

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

2011-09-16 Thread m . roth
sebasti...@datafaber.net wrote: On Fri, 16 Sep 2011 09:15:23 -0400, m.r...@5-cent.us wrote: Has anyone in this thread - I may have missed some posts last night - suggested yum reinstall yum? This wasn't suggested yet, so I've tried it and it fails in the same way (not unexpectedly, I would

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

2011-09-16 Thread m . roth
sebasti...@datafaber.net wrote: On Fri, 16 Sep 2011 09:15:23 -0400, m.r...@5-cent.us wrote: Has anyone in this thread - I may have missed some posts last night - suggested yum reinstall yum? This wasn't suggested yet, so I've tried it and it fails in the same way (not unexpectedly, I would

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

2011-09-16 Thread William Hooper
On Thu, Sep 15, 2011 at 9:18 AM, sebasti...@datafaber.net wrote: [snip] So either several mirrors all have the same corrupted file, or my box is generating a corrupted file each time. I would tend towards the second hypothesis, since other people have successfully updated their 5.6

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

2011-09-16 Thread sebastiano
I've finally managed to update one of my boxes to 5.7. I did it in a very roundabout way, which however confirms that at least in my boxes there's something wrong in the way yum creates the sqlite databases. I've basically followed the guide at http://wiki.centos.org/HowTos/CreateLocalMirror

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

2011-09-16 Thread Alain Péan
Le 16/09/2011 17:26, sebasti...@datafaber.net a écrit : Many thanks to all the people on the list who have suggestions and advice, particularly to Alain Péan who pointed me in the right direction. You are welcome, but I don't know how my suggestions lead you to the idea to setup a local repo

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

2011-09-16 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of sebasti...@datafaber.net Sent: Friday, September 16, 2011 11:27 To: centos@centos.org Subject: Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7 I've finally managed

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 the

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 Kahlil Hodgson
On 15/09/11 16:22, Sebastiano Pilla wrote: [root@picard yum.repos.d]# yum clean dbcache Loaded plugins: downloadonly, fastestmirror, priorities 0 sqlite files removed [root@picard yum.repos.d]# yum update Loaded plugins: downloadonly, fastestmirror, priorities Loading mirror speeds from

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

2011-09-15 Thread Fajar Priyanto
On Thu, Sep 15, 2011 at 2:31 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Perhaps your are downloading the same corrupted primary.xml.gz from mirror.opendoc.net.  Maybe try another mirror?  Perhaps download the file manually and compare? Yeah could be. And if your corporate network

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 14:44:59 +0800, Fajar Priyanto wrote: On Thu, Sep 15, 2011 at 2:31 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Perhaps your are downloading the same corrupted primary.xml.gz from mirror.opendoc.net.  Maybe try another mirror?  Perhaps download the file

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

2011-09-15 Thread sebastiano
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@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

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

2011-09-15 Thread Craig White
On Thu, 2011-09-15 at 08:22 +0200, Sebastiano Pilla wrote: 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

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 14:10:50 +0200, sebasti...@datafaber.net wrote: On Thu, 15 Sep 2011 14:44:59 +0800, Fajar Priyanto wrote: On Thu, Sep 15, 2011 at 2:31 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Perhaps your are downloading the same corrupted primary.xml.gz from

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

2011-09-15 Thread Always Learning
On Thu, 2011-09-15 at 15:18 +0200, sebasti...@datafaber.net wrote: Update: yum chose to use another mirror and it failed in the exact same way. Time for a file check on your disk. -- With best regards, Paul. England, EU. ___ CentOS mailing

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 14:30:01 +0100, Always Learning wrote: On Thu, 2011-09-15 at 15:18 +0200, sebasti...@datafaber.net wrote: Update: yum chose to use another mirror and it failed in the exact same way. I could do that, but it is again extremely unlikely that 6 disks on 6 different boxes

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 05:57:02 -0700, Craig White wrote: sounds like someone did some manual mucking in /etc/yum.repos.d You probably want to start disabling some of the configured repo's in /etc/yum.repos.d... 'enabled = 0' - I'd probably start by making sure that all non-CentOS repo's were

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

2011-09-15 Thread Fajar Priyanto
Stupid question. Can we uninstall yum? And install again using manual rpm. 나의 iPhone에서 보냄 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

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

2011-09-15 Thread Craig White
On Sep 15, 2011, at 7:18 AM, sebasti...@datafaber.net wrote: On Thu, 15 Sep 2011 05:57:02 -0700, Craig White wrote: sounds like someone did some manual mucking in /etc/yum.repos.d You probably want to start disabling some of the configured repo's in /etc/yum.repos.d... 'enabled = 0' - I'd

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 08:42:42 -0700, Craig White wrote: might be hard to run package-cleanup without having base enabled but I would certainly recommend that you run 'rpm -Va [--nofiles --nodigest]' to identify the broken dependencies - apparently something that the base repository really

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

2011-09-15 Thread Nicolas Thierry-Mieg
sebasti...@datafaber.net wrote: The file /var/cache/yum/base/primary.xml.gz.sqlite is only 20KB, whereas in the normal case I'd expect it to be 6.5MB. Somehow, yum is you're not out of hard drive space on that partition, are you? ___ CentOS mailing

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

2011-09-15 Thread Alain Péan
Le 15/09/2011 18:16, sebasti...@datafaber.net a écrit : [root@picard ~]# ll /var/cache/yum/base total 1004K -rw-r--r-- 1 root root0 Sep 15 19:12 cachecookie -rw-r--r-- 1 root root 1017 Sep 15 19:11 mirrorlist.txt drwxr-xr-x 2 root root 4.0K Jul 10 12:19 packages/ -rw-r--r-- 1 root root

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 18:33:39 +0200, Nicolas Thierry-Mieg wrote: sebasti...@datafaber.net wrote: The file /var/cache/yum/base/primary.xml.gz.sqlite is only 20KB, whereas in the normal case I'd expect it to be 6.5MB. Somehow, yum is you're not out of hard drive space on that partition, are

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

2011-09-15 Thread sebastiano
On Thu, 15 Sep 2011 18:36:10 +0200, Alain Péan wrote: And here is the answer from Karanbir Singh : unfortunately, you hit an issue that I did not think anyone would see ( but was aware of... ). The issue originates from the fact that the new CR repo has no sqlite metadata store, its xml

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

2011-09-15 Thread Craig White
On Sep 15, 2011, at 9:16 AM, sebasti...@datafaber.net wrote: On Thu, 15 Sep 2011 08:42:42 -0700, Craig White wrote: might be hard to run package-cleanup without having base enabled but I would certainly recommend that you run 'rpm -Va [--nofiles --nodigest]' to identify the broken

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

2011-09-15 Thread Alain Péan
Le 15/09/2011 18:37, sebasti...@datafaber.net a écrit : On Thu, 15 Sep 2011 18:33:39 +0200, Nicolas Thierry-Mieg wrote: sebasti...@datafaber.net wrote: The file /var/cache/yum/base/primary.xml.gz.sqlite is only 20KB, whereas in the normal case I'd expect it to be 6.5MB. Somehow, yum is

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

2011-09-15 Thread Alain Péan
Le 15/09/2011 18:44, sebasti...@datafaber.net a écrit : You may be onto something, I've seen that the 5.6 base repo has the sqlite metadata store while the 5.7 base repo hasn't it. But the 20K sqlite file that yum generates on my boxes looks to have at least something related to sqlite inside

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 Brian Miller
On Thu, 2011-09-15 at 18:37 +0200, sebasti...@datafaber.net wrote: And there's also plenty of available space on the other 5 boxes which exhibit the same issue. Sorry if this has been suggested already - have you tried running with all plugins disabled? 'yum --noplugins check-update' I have

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 Craig White
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 it.

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

2011-09-15 Thread Always Learning
On Thu, 2011-09-15 at 15:06 -0700, Craig White wrote: post the output of... It was the same as mine in Centos 5.6, now 5.7 Paul. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

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 Josh Miller
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 it. Unfortunately yum

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 it.

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

2011-09-15 Thread Craig White
On Sep 15, 2011, at 3:22 PM, Sebastiano Pilla wrote: 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

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

2011-09-15 Thread Kahlil Hodgson
On 16/09/11 08:22, Sebastiano Pilla wrote: Based on what I'm seeing, I do not think that yum is downloading a corrupt sqlite database, rather than it is creating a corrupt database all by itself. I have however no definite confirmation of this and I would like to have one before filing a

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

2011-09-14 Thread Always Learning
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 yum clean all

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

2011-09-14 Thread Craig White
On Sep 14, 2011, at 2:56 PM, 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. [root@picard yum]# yum update Loaded plugins:

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 Always Learning
On Thu, 2011-09-15 at 00:26 +0200, Sebastiano Pilla wrote: Always Learning wrote: Have you tried yum clean all followed by yum update ? Yes, I've tried it, with the exact same result: [root@picard ~]# yum clean all Loaded plugins: downloadonly, fastestmirror,

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

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

2011-09-14 Thread Always Learning
On Thu, 2011-09-15 at 00:35 +0200, Sebastiano Pilla wrote: Thank you very much for your help. Please do not forget I am a Learner, not an expert :-) 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

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

2011-09-14 Thread Keith Roberts
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? Keith - Websites:

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

2011-09-14 Thread Always Learning
On Thu, 2011-09-15 at 00:35 +0200, Sebastiano Pilla wrote: [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 Feb 8 2011 CentOS-Debuginfo.repo -rw-r--r-- 1 root root 626 Feb 8 2011 CentOS-Media.repo