Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13642

Summary: when a mirror 404s, a dld resumed with that mirror 416s
Product: Portage Development Reporter: m.martucci <m.martucci>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description m.martucci 2003-01-10 09:38:30 UTC
Here's what happens:
1. portage attempts download from a gentoo mirror.
2. gentoo mirror returns a 404 not found (for http)
3. portage attempts download with alternate site
4. portage dlds from alternate site.
5. dld gets interrupted for whatever reason (eg, modem disconnect/ctrl-C).
6. emerge manually restarted
7. portage requests partial content from gentoo mirror (the one that 404'd)
8. gentoo mirror returns 416 requested range not satisfiable
9. portage thinks file must already be downloaded, so proceeds with md5sum checks.
10. md5sum fails because file only partially dlded, and portage user must
manually delete file & hope to get it all in one chunk OR disable the gentoo
mirrors in env vars or make.conf.
Comment 1 SpanKY gentoo-dev 2003-01-10 10:29:21 UTC

*** This bug has been marked as a duplicate of 11392 ***