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.
[1]
Well well well.
Well.
It doesn't really explain why the problem has arisen, but it looks like
the mirror hasn't been updated in a while.
[root@xxxxxxxxxxxxx ~]# rsync
rsync://mirror.3fl.net.au/fedora-linux-development/*6*/os/repodata/
Welcome to mirror.3fl.net rsync service
IP Address: 203.31.12.18
Connections: Max 20
Location: Perth, Australia
Admin: 3FL Mirror Team <mirror@xxxxxxx>
rsync: opendir "/i386/os/repodata/.~tmp~" (in fedora-linux-development)
failed: Permission denied (13)
drwxr-xr-x 4096 2008/04/17 10:06:28 .
drwx------ 4096 2008/04/17 10:06:28 .~tmp~
-rw-r--r-- 1309343 2008/04/13 17:12:41 comps.xml
-rw-r--r-- 304708 2008/04/13 17:12:40 comps.xml.gz
-rw-r--r-- 10792151 2008/04/13 17:00:45 filelists.sqlite.bz2
-rw-r--r-- 8990614 2008/04/13 16:47:28 filelists.xml.gz
-rw-r--r-- 3504574 2008/04/13 16:49:14 other.sqlite.bz2
-rw-r--r-- 3625910 2008/04/13 16:47:28 other.xml.gz
-rw-r--r-- 6411031 2008/04/13 17:12:39 primary.sqlite.bz2
-rw-r--r-- 3616243 2008/04/13 16:47:28 primary.xml.gz
-rw-r--r-- 2424 2008/04/13 17:12:41 repomd.xml
rsync error: some files could not be transferred (code 23) at main.c(1146)
[root@xxxxxxxxxxxxx ~]#
It seems that the source of the files I should mirror while I wasn't
looking. I've changed that, and it's updating now.
I'm curious as to how I got an apparently corrupt repo though. Yum
appeared to know what files it should be updating, the update list from
an official mirror (pacific.net.au) seemed to be much the same.
--
Cheers
John
-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list