Re: problems with fetching metadata files.

Łukasz Tasz <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <CAGRr-NiU_74h778MBRE0Vz0nUFYdXpqgjVq9Jqzg6nW8rwBPxQ@mail.gmail.com>
Thanks a lot for your answer,

You right,
repomod was corrupted due to race condition.
createrepo --update ... solved an issue,  and ofcourse race elimination:D

again Thanks a lot!



2012/6/8 Zdenek Pavlas <[email protected]>:
>> file:///XXXXXXXXXXXXXX/repodata/primary.sqlite.bz2: [Errno 14]
>> Downloaded more than max size for
>> file:///XXXXXXXXXXXXXXXXXXXXX/repodata/primary.sqlite.bz2: 16383 > 14
>> do I exceed any limits?! can I change it?
>
> Yum parsed repomd.xml and expects primary.sqlite.bz2 to be just 14 bytes.
> While downloading, we give up because the file is much larger.
>
> a) your repomd.xml has incorrect sizes (a bug in createrepo)
> b) repomd.xml and metadata are out of sync.
> c) there's a bug in repomd.xml parsing/processing in yum.
>
> I expect a) to be the most likely cause.  Your probably created
> invalid (zero length) primary.sqlite, and bz2 header adds
> few (14?) bytes.  Just check repomd.xml on the server, and
> if it's correct, check that Yum does not cache a different file.
> _______________________________________________
> Yum mailing list
> [email protected]
> http://lists.baseurl.org/mailman/listinfo/yum



-- 
--
Łukasz Tasz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.