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

Bug 543206

Summary: Java 8 Wrong Checksum
Product: Gentoo Linux Reporter: dashmz
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description dashmz 2015-03-13 20:53:38 UTC
Created attachment 398822 [details]
emerge --info

There might be wrong checksums in the Manifest of dev-java/oracle-jdk-bin-1.8.0.40.

I downloaded the file jdk-8u40-linux-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html a few times but got a checksum error every time:

>>> Emerging (1 of 1) dev-java/oracle-jdk-bin-1.8.0.40::gentoo
!!! Previously fetched file: 'jdk-8u40-linux-x64.tar.gz'
!!! Reason: Filesize does not match recorded size
!!! Got:      173190465
!!! Expected: 173218127
Refetching... File renamed to '/usr/portage/distfiles/jdk-8u40-linux-x64.tar.gz._checksum_failure_.pXtp57'

I worked around and finally got it installed - and it worked.

Here are some details of the archive I downloaded (on 2015-03-13 20:21 UTC+2):

$ du -b jdk-8u40-linux-x64.tar.gz
173190465	jdk-8u40-linux-x64.tar.gz
$ md5sum jdk-8u40-linux-x64.tar.gz
3b3f74589539b8bbe5d78005e52f4f78  jdk-8u40-linux-x64.tar.gz
Comment 1 Ben Kohler gentoo-dev 2015-03-13 20:56:33 UTC

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