Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40254 - fetching "ad infinitum"
Summary: fetching "ad infinitum"
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 01:51 UTC by Carsten Lohrke (RETIRED)
Modified: 2004-02-11 10:53 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 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-03 01:51:45 UTC
!!! Fetched file: eric-3.3.1.tar.gz MD5 FAILED! Removing corrupt distfile...

I don't now why the md5 changed, but I made the ebuild myself so the md5 is not the problem. I just wanted to backup the tarball, which was deleted accidentally by myself.

The problem: Portage is fetching and deleting the tarball again and again. After ~20 times I detected and stopped it, but unattended installations in conjunction with such a problem will stress mirrors unneccessarily.


I'm using portage-2.0.49-r21 here.
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-10 17:16:03 UTC
Maybe, the tar ball was changed in upstream..
If you regenerate md5 and it occurs again, feel free to reopen this bug.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-11 00:51:36 UTC
I don't think this bug report is invalid. Couldn't you add a variable (maybe configurable via make.conf) to limit the number of attempts to fetch a tarball?. I mean, if you are fetching the tarball a couple of times from different servers and it's md5 is always the same, but doesn't match the digest, it's likely that the problem is not the tarball.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-02-11 10:18:39 UTC
If the MD5 of the tarball doesn't match the digest there is a problem. There is no way for portage to decide if the digest is wrong or the tarball, even if all mirrors have a tarball with the same MD5, as the maintainer could have uploaded a wrong tarball. With your suggestion we wouldn't even notice such an error (ok we would probably notice it, but it would certainly take longer).
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-11 10:53:40 UTC
I want a alway_stop_after_N_trials option. Is my english that bad?