[CentOS] Yum errors

Mon Jul 1 15:29:45 UTC 2013
me at tdiehl.org <me at tdiehl.org>

On Mon, 1 Jul 2013, Reindl Harald wrote:

>
>
> Am 01.07.2013 15:36, schrieb me at tdiehl.org:
>> I have a 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 mutiple times to
> get rid of this tons of old metadata with no benefit
>
>

After doing a little more poking around, I moved /var/lib/yum/rpmdb-indexes
out of the way and the issue seems to be solved. Yum seems to have recreated
that directory and appears happy now.

Does anyone know of a downside to doing this?

Regards,

-- 
Tom			me at tdiehl.org		Spamtrap address	 		me123 at tdiehl.org