On Thu, Jan 19, 2012 at 12:55 AM, Anish Mangal
<[email protected]> wrote:
> I deleted these packages from the OOB cache and tried after a while
> and it worked.

That's the right workaround for a silly bug... somewhere in imgcreate
libraries of the livecd-tools fedora package...

> However, shouldn't we check for rpm package integrity
> (content-type) while downloading via pycurl/libcurl and move to
> another mirror in case of corruption or inconsistent file-type?

Actually, it's easier: the code is downloading stuff with pycurl, and
ignoring whether pycurl gets any error. A simple check on pycurl http
status should be enough to retry or fail early, and avoid polluting
the cache.

cheers,



m
-- 
 [email protected]
 [email protected] -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to