Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28566 - sys-apps/which-2.15 digest mismatch
Summary: sys-apps/which-2.15 digest mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
: 28568 28606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-12 17:53 UTC by Stephen Boulet
Modified: 2003-09-25 16:02 UTC (History)
6 users (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 Stephen Boulet 2003-09-12 17:53:31 UTC
# emerge which 
Calculating dependencies ...done! 
>>> emerge (1 of 1) sys-apps/which-2.15 to / 
>>> Downloading http://gentoo.oregonstate.edu/distfiles/which-2.15.tar.gz 
--19:48:54--  http://gentoo.oregonstate.edu/distfiles/which-2.15.tar.gz 
           => `/usr/portage/distfiles/which-2.15.tar.gz' 
Resolving gentoo.oregonstate.edu... done. 
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 125,834 [application/x-tar] 
 
100%[===============================================================================>] 
125,834       69.86K/s    ETA 00:00 
 
19:48:56 (69.86 KB/s) - `/usr/portage/distfiles/which-2.15.tar.gz' saved 
[125834/125834] 
 
!!! File is corrupt or incomplete. (Digests do not match) 
>>> our recorded digest: d749036d9be9132a00fc2360e61d92e5 
>>>  your file's digest: 510eea5450ecc689a231118ede3078ab 
!!! File does not exist: /usr/portage/distfiles//which-2.15.tar.gz 

Reproducible: Always
Steps to Reproduce:
1.emerge which 
2. 
3. 



Happens repeatedly when /usr/portage/distfiles/which-2.15.tar.gz is deleted.
Comment 1 SpanKY gentoo-dev 2003-09-12 21:50:06 UTC
*** Bug 28568 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2003-09-12 21:51:57 UTC
hmm real digest should be 0bab67741e51513170bd6061c20d0aa9 heh
thats right from http://www.xs4all.nl/~carlo17/which/which-2.15.tar.gz
Comment 3 SpanKY gentoo-dev 2003-09-12 21:53:51 UTC
actually i lied, the recorded digest is correct ;)
Comment 4 Stephen Boulet 2003-09-12 22:28:57 UTC
Looks like Oregon State's mirror is corrupted again: 
 
su -c "emerge -f which" 
Password: 
Calculating dependencies ...done! 
>>> emerge (1 of 1) sys-apps/which-2.15 to / 
!!! Previously fetched file: which-2.15.tar.gz MD5 FAILED! Refetching... 
>>> Downloading http://gentoo.oregonstate.edu/distfiles/which-2.15.tar.gz 
--00:27:16--  http://gentoo.oregonstate.edu/distfiles/which-2.15.tar.gz 
           => `/usr/portage/distfiles/which-2.15.tar.gz' 
Resolving gentoo.oregonstate.edu... done. 
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 125,834 [application/x-tar] 
 
100%[==========================================================>] 125,834       
75.95K/s    ETA 00:00 
 
00:27:18 (75.95 KB/s) - `/usr/portage/distfiles/which-2.15.tar.gz' saved 
[125834/125834] 
 
!!! Fetched file: which-2.15.tar.gz MD5 FAILED! Removing corrupt distfile... 
>>> Downloading 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/which-2.15.tar.gz 
--00:27:18--  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/which-2.15.tar.gz 
           => `/usr/portage/distfiles/which-2.15.tar.gz' 
Resolving distro.ibiblio.org... done. 
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected. 
HTTP request sent, awaiting response... 404 Not Found 
00:27:19 ERROR 404: Not Found. 
 
>>> Downloading http://www.xs4all.nl/~carlo17/which/which-2.15.tar.gz 
--00:27:19--  http://www.xs4all.nl/%7Ecarlo17/which/which-2.15.tar.gz 
           => `/usr/portage/distfiles/which-2.15.tar.gz' 
Resolving www.xs4all.nl... done. 
Connecting to www.xs4all.nl[194.109.6.92]:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 125,462 [application/x-tar] 
 
100%[==========================================================>] 125,462       
71.86K/s    ETA 00:00 
 
00:27:21 (71.86 KB/s) - `/usr/portage/distfiles/which-2.15.tar.gz' saved 
[125462/125462] 
 
>>> which-2.15.tar.gz MD5 ;-) 
>>> md5 src_uri ;-) which-2.15.tar.gz 
Comment 5 Andrew Bevitt 2003-09-12 23:38:25 UTC
It appears from here that most mirrors that actually mirror which have a bad tarball. Just tried using mirrorselect to change through several mirrors that have which mirrored and all the tarballs I downloaded had bad digests, i manually downloaded from  http://www.xs4all.nl/%7Ecarlo17/which/which-2.15.tar.gz removed the portage digest file (/usr/portage/sys-apps/which/files/digest-which-2.15) rebuilt the digest with ebuild and emerged, it works ...
Comment 6 Cletus Lichte 2003-09-13 02:11:39 UTC
Andrew, I tried that but it won't work for me.  I get the following error:

Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/which-2.15 to /
>>> md5 src_uri ;-) which-2.15.tar.gz
>>> Unpacking source...
>>> Unpacking which-2.15.tar.gz to /tmp/portage/which-2.15/work

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

!!! ERROR: sys-apps/which-2.15 failed.
!!! Function unpack, Line 291, Exitcode 2
!!! failure unpacking which-2.15.tar.gz
Comment 7 Hasse Hagen Johansen 2003-09-13 08:23:58 UTC
I've got the same problem as above. tar -zxvf works on the downloaded file wothout problem, but as soon as usin ebuild /usr/portage/sys-apps/which/which/which-2.15.ebuild is fails (using the unpack() function).

Hasse
Comment 8 Scott Taylor (RETIRED) gentoo-dev 2003-09-13 09:51:08 UTC
mirrors.tds.net has corrupt copy too.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-09-13 11:27:41 UTC
*** Bug 28606 has been marked as a duplicate of this bug. ***
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-09-13 11:32:15 UTC
*It appears from here that most mirrors that actually mirror which have a bad *tarball.
*Just tried using mirrorselect to change through several mirrors that have which *mirrored
*and all the tarballs I downloaded had bad digests, i manually downloaded from  *http://www.xs4all.nl/%7Ecarlo17/which/which-2.15.tar.gz
*removed the portage digest file *(/usr/portage/sys-apps/which/files/digest-which-2.15)
*rebuilt the digest with ebuild and emerged, it works ...

This solved the problem for me... mirroring problem then...

status could be changed to fixed or something,,,
Comment 11 David Westley 2003-09-13 13:59:53 UTC
I was able to fix this by downloading the tarball direct from http://www.xs4all.nl/~carlo17/which/which-2.15.tar.gz into /usr/portage/distfiles

I didn't need to touch the digest file.
Comment 12 Claes Mogren 2003-09-13 14:25:09 UTC
I can't get the stupid ebuild NOT to download the corrupt archive from ibiblio.org even if I have the correct file in /usr/portage/distfiles. Never had this problem before. Why doesn't emerge get that I already have the right file?. Trying to rebuild the digest also makes it download the corrupt archive again.
/C.M
Comment 13 Joseph Nievelt 2003-09-14 22:12:11 UTC
which is now in v 2.16, so the xs4all site no longer has the 2.15 file.  I was able to get it from http://fresh.t-systems-sfr.com/unix/src/misc/which-2.15.tar.gz

The md5 winked at me, and I didn't have any problems with emerge trying to redownload the file.
Comment 14 Bill Sheehan 2003-09-15 12:15:28 UTC
http://fresh.t-systems-sfr.com is not responding, and Carlos' site has only 
2.16.   Did the following: 
Downloaded http://www.xs4all.nl/~carlo17/which/which-2.16.tar.gz 
Unzipped and untarred. 
Renamed directory to which-2.15 
Tarred and zipped to which-2.15.tar.gz 
Copied file to /usr/portage/distfiles 
Changed directory to /usr/portage/sys-apps/which 
Removed /usr/portage/sys-apps/which/files/digest-which-2.15 
Ran  ebuild which-2.15.ebuild digest  to create new digest. 
Ran emerge which - everything installed fine.  Granted, it's not really 2.15, 
but it works. 
 
Comment 15 Martin Holzer (RETIRED) gentoo-dev 2003-09-25 13:42:05 UTC
mirror-admin could you please fix this `?
Comment 16 Kurt Lieber (RETIRED) gentoo-dev 2003-09-25 16:02:37 UTC
OSU has the right file:

klieber@ftp:~$ md5sum gentoo/distfiles/which-2.15.tar.gz
d749036d9be9132a00fc2360e61d92e5  gentoo/distfiles/which-2.15.tar.gz

all other mirrors sync from here.  So, it may take some time to propogate
out, but this file should be fixed in the next 24-48 hours on all mirrors.

--kurt