Re: Yum errors

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



On Mon, 1 Jul 2013, Reindl Harald wrote:

>
>
> Am 01.07.2013 15:36, schrieb me@xxxxxxxxxx:
>> 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@xxxxxxxxxx		Spamtrap address	 		me123@xxxxxxxxxx
_______________________________________________
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