On Wed, 2008-04-23 at 22:14 +0800, John Summerfield wrote:
Michael Schwendt wrote:
> On Wed, 23 Apr 2008 14:19:07 +0800, John Summerfield wrote:
>
>> yum has changed its behaviour:
>>
>> filelists.sqlite.bz2 | 12 MB 00:07
>>
file:///net/cdm/home/mirror/linux/fedora/x86_64/os/repodata/filelists.sqlite.bz2:
>> [Errno -1] Meta data file does not match checksum
>> Trying other mirror.
>
> Pardon? This is something bad at your end, in your local repo if
> you get metadata checksum errors with your own mirror.
You'd think so, but I'm not sure. According to rsync, I have a correct
and complete copy of my IAP's mirror. While it's possible that mirror is
crook, the folk who care for it do update it regularly with rsync. It
should be okay[1]
>
>> File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line
450,
>> in searchFiles
>> cur = cache.cursor()
>> AttributeError: 'NoneType' object has no attribute 'cursor'
>
> Looks much like you've got corrupted sqlite metadata in your yum cache.
Quite possibly, but if so then yum should diagnose it. I'm not referring
to _this_ run where it crashed, but others where it (apparently) looped.
This particular bug was fixed by James Antill in yum upstream. It hasn't
made it to rawhide, yet.
-sv