Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2956 - download when digest is wrong using wget
Summary: download when digest is wrong using wget
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 09:16 UTC by Paul de Vrieze (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
1 user (show)

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 Paul de Vrieze (RETIRED) gentoo-dev 2002-05-23 09:16:49 UTC
When a downloaded file fails to fit the digest file, gentoo tries alternate
download locations. The problem is that with wget the new file get's .1 appended
to the name, so even if the new file is ok, it will never be used. 

The best solution would also check first for filesize on ftp mirrors so
downloads are not in vain. Next before downloading from an alternate location,
the original file should be renamed to something else.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-29 23:34:54 UTC
we're a bit limited by wget here, but portage 2.0.22 should show some improved
behavior.