Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88346 - md5 verification failed should redownload file
Summary: md5 verification failed should redownload file
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 06:33 UTC by Florian E.J. Fruth
Modified: 2005-04-11 07:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian E.J. Fruth 2005-04-08 06:33:26 UTC
today i had the md5 digest verification failed error again. after this error emerge exits. i think it would be better if emerge tries to download the file again from another mirror. and to prevent an infinite loop add an option like "EMERGE_MAX_DOWNLOAD_RETRIES=5". that means if it downloads the file from a mirror with failed md5 sum retry 4 other mirrors and then exit. another possibility would be a "homepage fallback": if the md5sum fails try to download the file from the orginal homepage and if this also gives an invalid md5sum -> exit
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-04-11 07:11:49 UTC
Portage does try to re-download the file if the size is different to the recorded size, but if the MD5 is different then redownloading automatically is generally not a good idea. While re-downloading the file may be fine in some cases, usually it's just wasted bandwidth from the mirrors.