Re: Yum segmentation fault updating from 5.6 to 5.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 
out or delete it:

[root@picard ~]# yum clean all 

Loaded plugins: downloadonly, fastestmirror, priorities
Cleaning up Everything
[root@picard ~]# ll /var/cache/yum/base 

total 4.0K
drwxr-xr-x 2 root root 4.0K Sep 14 21:56 packages/
[root@picard ~]# yum update 

Loaded plugins: downloadonly, fastestmirror, priorities
Determining fastest mirrors
  * base: mirrors.ircam.fr
  * updates: mirrors.ircam.fr
base 
                                       | 1.1 kB     00:00
base/primary 
                                       | 961 kB     00:02
Segmentation fault
[root@picard ~]# ll /var/cache/yum/base
total 1000K
-rw-r--r-- 1 root root    0 Sep 15 23:43 cachecookie
-rw-r--r-- 1 root root  985 Sep 15 23:43 mirrorlist.txt
drwxr-xr-x 2 root root 4.0K Sep 14 21:56 packages/
-rw-r--r-- 1 root root 961K Sep  5 13:52 primary.xml.gz
-rw-r--r-- 1 root root  20K Sep 15 23:43 primary.xml.gz.sqlite
-rw-r--r-- 1 root root 1.2K Sep  5 13:52 repomd.xml
[root@picard ~]# rm -f /var/cache/yum/base/primary.xml.gz.sqlite
[root@picard ~]# ll /var/cache/yum/base
total 980K
-rw-r--r-- 1 root root    0 Sep 15 23:43 cachecookie
-rw-r--r-- 1 root root  985 Sep 15 23:43 mirrorlist.txt
drwxr-xr-x 2 root root 4.0K Sep 14 21:56 packages/
-rw-r--r-- 1 root root 961K Sep  5 13:52 primary.xml.gz
-rw-r--r-- 1 root root 1.2K Sep  5 13:52 repomd.xml
[root@picard ~]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
  * base: mirrors.ircam.fr
  * updates: mirrors.ircam.fr
Segmentation fault
[root@picard ~]# ll /var/cache/yum/base
total 1000K
-rw-r--r-- 1 root root    0 Sep 15 23:43 cachecookie
-rw-r--r-- 1 root root  985 Sep 15 23:43 mirrorlist.txt
drwxr-xr-x 2 root root 4.0K Sep 14 21:56 packages/
-rw-r--r-- 1 root root 961K Sep  5 13:52 primary.xml.gz
-rw-r--r-- 1 root root  20K Sep 15 23:43 primary.xml.gz.sqlite
-rw-r--r-- 1 root root 1.2K Sep  5 13:52 repomd.xml

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux