Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59339 - portage 2.0.50-r9 resumes already fully retrieved files
Summary: portage 2.0.50-r9 resumes already fully retrieved files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 00:21 UTC by Martin Zwickel
Modified: 2004-08-04 19:51 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 Martin Zwickel 2004-08-04 00:21:17 UTC
# emerge -U jisx0213-fonts lha aquafont
>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 3) media-fonts/jisx0213-fonts-20040425 to /
>>> Resuming download...
>>> Downloading http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16
-2000-1.bdf.gz
--09:16:31--  http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-2
000-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.
>>> Resuming download...
>>> Downloading ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-
2000-1.bdf.gz
--09:16:31--  ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-20
00-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading http://www12.ocn.ne.jp/~imamura/jiskan16-2000-1.bdf.gz
--09:16:31--  http://www12.ocn.ne.jp/%7Eimamura/jiskan16-2000-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 206 Partial Content
Length: 303,401 (39 to go) [text/plain]

100%[++++++++++++++++++++++++++++++++++++>] 303,401       --.--K/s             

09:16:32 (380.86 KB/s) - `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz' saved [303401/303401]

>>> md5 src_uri ;-) jiskan16-2004-1.bdf.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: f7d2e1c722646f05633c4165cf593440
>>>  your file's digest: a90cb0762a32c08722b0bfe7bf9ee727
!!! File does not exist: /usr/portage/distfiles//jiskan16-2000-1.bdf.gz

------------------------------------------------------------------------
------------------------------------------------------------------------

after I delete the file manually:


# emerge -U jisx0213-fonts lha aquafont
>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 3) media-fonts/jisx0213-fonts-20040425 to /
>>> Downloading http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16
-2000-1.bdf.gz
--09:17:00--  http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-2
000-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 303,362 [application/x-gzip]

100%[====================================>] 303,362       --.--K/s             

09:17:00 (12.42 MB/s) - `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz' saved [3
03362/303362]

>>> Resuming download...
>>> Downloading ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-
2000-1.bdf.gz
--09:17:00--  ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/jiskan16-20
00-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading http://www12.ocn.ne.jp/~imamura/jiskan16-2000-1.bdf.gz
--09:17:00--  http://www12.ocn.ne.jp/%7Eimamura/jiskan16-2000-1.bdf.gz
           => `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz'
Connecting to 192.168.0.1:8080... connected.
Proxy request sent, awaiting response... 206 Partial Content
Length: 303,401 (39 to go) [text/plain]

100%[++++++++++++++++++++++++++++++++++++>] 303,401       --.--K/s             

09:17:00 (380.86 KB/s) - `/usr/portage/distfiles/jiskan16-2000-1.bdf.gz' saved [303401/303401]

>>> md5 src_uri ;-) jiskan16-2004-1.bdf.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: f7d2e1c722646f05633c4165cf593440
>>>  your file's digest: a90cb0762a32c08722b0bfe7bf9ee727
!!! File does not exist: /usr/portage/distfiles//jiskan16-2000-1.bdf.gz

------------------------------------------------------------------------
------------------------------------------------------------------------

and if I download from the last source:

# cd /usr/portage/distfiles
# wget http://www12.ocn.ne.jp/~imamura/jiskan16-2000-1.bdf.gz
09:18:16 (47.36 KB/s) - `jiskan16-2000-1.bdf.gz' saved [303401/303401]

# emerge -U jisx0213-fonts lha aquafont
>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 3) media-fonts/jisx0213-fonts-20040425 to /
>>> md5 src_uri ;-) jiskan16-2004-1.bdf.gz
>>> md5 src_uri ;-) jiskan16-2000-1.bdf.gz

!!! File is corrupt or incomplete. (Digests do not match)
>>> our recorded digest: 524f4ce924b4737ce680c14d3b597532
>>>  your file's digest: 54e97485716f3978d257a176618844cd
!!! File does not exist: /usr/portage/distfiles//jiskan16-2000-2.bdf.gz



Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -U jisx0213-fonts lha aquafont


Actual Results:  
file jiskan16-2000-1.bdf.gz is already complete, but portage resumes the download.

Expected Results:  
a completely downloaded file

portage downloads the distfile from a good source completely. but then it wants
to resume the download from other sources, and the last one is a bad source
(file checksum fails)
Comment 1 Martin Zwickel 2004-08-04 00:21:56 UTC
oh, forgot my portage version:
*  sys-apps/portage
      Latest version available: 2.0.50-r9
      Latest version installed: 2.0.50-r9
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2004-08-04 03:30:07 UTC
I've experienced this once or twice recently as well, but I am pretty sure they were problems with the particular ebuild's digest.  One of the ebuilds was hardened-dev-sources-2.6.7-r3 (see #57009). 

When talking to pappy about it in #gentoo-hardened, he said it looked like a digest problem and to submit a bug.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-08-04 19:51:25 UTC
Repeated retrieval is due to a digest problem.