Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14932 - portage/wget fails to continue a down
Summary: portage/wget fails to continue a down
Status: RESOLVED DUPLICATE of bug 11392
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 19:17 UTC by Thomas Capricelli
Modified: 2011-10-30 22:21 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 Thomas Capricelli 2003-02-01 19:17:02 UTC
in a special corner case, portage fails with file downloal. 
basically, if a file from which we have already downloaded some but not all, is not found 
on the first mirror, portage thinks the download is finished, and fails on md5 checks. It 
should keep on trying to 'wget -c' the file on others mirrors. 

Reproducible: Always
Steps to Reproduce:
1.configure a not-well-gifted mirror as first mirror in make.conf 
2.do an emerge that triggers a download 
3.break (^c) the download 
4.do the emerge again 
Actual Results:  
Resolving sunsite.doc.ic.ac.uk... done. 
Connecting to sunsite.doc.ic.ac.uk[193.195.63.2]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD 
/packages/linux/sunsite.unc-mirror/distributions/gentoo/distfiles ... done. 
==> SIZE flac-1.0.4.tar.gz ... done. 
==> PASV ... done.    ==> REST 745210 ... done. 
==> RETR flac-1.0.4.tar.gz ... 
No such file `flac-1.0.4.tar.gz'. 
 
 
!!! flac-1.0.4.tar.gz: message digests do not match! 
!!! flac-1.0.4.tar.gz is corrupt or incomplete. 
>>> our recorded digest: b1523e6ad8ef85d1df5b18f20a8cfad6 
>>>  your file's digest: 88124ddf8f389a50ff61c1b28d7da6e1 
>>> Please delete /usr/portage/distfiles/flac-1.0.4.tar.gz and refetch. 
 
bash-2.05b# rm /usr/portage/distfiles/flac-1.0.4.tar.gz 
bash-2.05b# emerge ./xine-lib-1_beta4.ebuild 
 

Expected Results:  
as it happens if the file is found on the first mirror : wget -c get called, and what is 
already downloaded isn't lost 

ask me anything you want (more details, tests..) 
i use latest Portage  : 2.0.46-r9 (, gcc-3.2.1, glibc-2.3.1-r2,2.2.5-r4)
Comment 1 SpanKY gentoo-dev 2003-02-01 22:01:53 UTC

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