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

Bug 2956

Summary: download when digest is wrong using wget
Product: Portage Development Reporter: Paul de Vrieze (RETIRED) <pauldv>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: pauldv
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.