[CentOS] Yum errors

Mon Jul 1 15:23:56 UTC 2013
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

me at tdiehl.org wrote:
> On Mon, 1 Jul 2013, Reindl Harald wrote:
>
>>
>>
>> Am 01.07.2013 15:36, schrieb me at tdiehl.org:
>>> I have a c6.4 machine that recently had some file system corruption. fsck was able
>>> repair the file system but I am getting the following error when I try to
>>> do yum update:
>>>
>>> [Errno 21] Is a directory: '/var/lib/yum/yumdb/e/2f883c08e3b596b66fcc19c6b4d73b11c9aaa43e-e2fsprogs-1.41.12-14.el6_4.2-x86_64/checksum_type'
>>>
>>> In searching Google, some suggested renaming the yumdb but that just results
>>> in a traceback when I run yum
>>
>> you can do *without any issue*
>>
>> rm -rf /var/lib/yum/yumdb/*
>> rm -rf /var/lib/yum/history/*
>>
>> and after *twice* "yum history new" there are no longer tracebacks
>> been there, done that on a *lot* of machines multiple times to
>> get rid of this tons of old metadata with no benefit
>
> Ok, I am still getting a traceback, obviously, the first traceback is expected
> but the last one os not. Below is what I did:

> Any ideas what I am missing?

did you yum clean all ?
often useful when yum freaks out