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 delete the yum cache, then I confirm that the file does not exist anymore, but the subsequent update fails and the corrupted file is there again [root at picard ~]# yum clean all Loaded plugins: downloadonly, fastestmirror, priorities Cleaning up Everything [root at picard ~]# ll /var/cache/yum/base total 4.0K drwxr-xr-x 2 root root 4.0K Sep 14 21:56 packages/ [root at 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 at 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 - here I delete just the corrupted file, I confirm that it doesn't exist anymore, but the subsequent update fails and the file is there again [root at picard ~]# rm -f /var/cache/yum/base/primary.xml.gz.sqlite [root at 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 at 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 at 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