Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] dev-java/sun-jdk-1.6.0.33 lässt sich nicht mergen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 6:31 am    Post subject: [solved] dev-java/sun-jdk-1.6.0.33 lässt sich nicht mergen Reply with quote

Hallo Zusammen,

beim letzten world Update sollte wohl auch "dev-java/sun-jdk" aktualisiert werden.leider schlägt das aber fehl. :(

Code:
vdr01 ~ # emerge -va dev-java/sun-jdk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild    fU  ] dev-java/sun-jdk-1.6.0.33 [1.6.0.31] USE="X alsa nsplugin source -derby -doc -examples -jce" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Fetch Restriction: 1 package

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-java/sun-jdk-1.6.0.33
!!! Fetched file: jdk-6u33-linux-i586.bin VERIFY FAILED!
!!! Reason: Insufficient data for checksum verification
!!! Got:
!!! Expected: MD5 RMD160 SHA1 SHA256 SHA512 WHIRLPOOL
 * Fetch failed for 'dev-java/sun-jdk-1.6.0.33', Log file:
 *  '/log/portage/dev-java:sun-jdk-1.6.0.33:20120713-054541.log'
 * Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
 * has become fetch restricted again. Alternatives are switching to
 * dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
 *
 * Please download jdk-6u33-linux-i586.bin from:
 * http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
 * and move it to /mnt/data/portage/distfiles

>>> Failed to emerge dev-java/sun-jdk-1.6.0.33, Log file:

>>>  '/log/portage/dev-java:sun-jdk-1.6.0.33:20120713-054541.log'
vdr01 ~ #


Selbstverständlich habe ich die "jdk-6u33-linux-i586.bin" heruntergeladen und nach "distfiles" kopiert.

Hat Jemand eine Idee, was das schief läuft?


Last edited by 3PO on Fri Jul 13, 2012 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1176

PostPosted: Fri Jul 13, 2012 7:09 am    Post subject: Reply with quote

das problem ist ja nicht FETCH FAILED sondern VERIFY FAILED, weshalb auch immer. was steht denn im log?
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 7:12 am    Post subject: Reply with quote

Leider gibt das log auch nicht viel her:

Code:
vdr01 ~ # cat  '/log/portage/dev-java:sun-jdk-1.6.0.33:20120713-053521.log'
Refetching... File renamed to '/mnt/data/portage/distfiles/jdk-6u33-linux-i586.bin._checksum_failure_.9xbIjQ'


!!! dev-java/sun-jdk-1.6.0.33 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Fetch failed for 'dev-java/sun-jdk-1.6.0.33', Log file:
 *  '/log/portage/dev-java:sun-jdk-1.6.0.33:20120713-053521.log'
 * Package:    dev-java/sun-jdk-1.6.0.33
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        X alsa consolekit elibc_glibc kernel_linux nsplugin policykit source userland_GNU x86
 * FEATURES:   preserve-libs sandbox
 * Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
 * has become fetch restricted again. Alternatives are switching to
 * dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
 *
 * Please download jdk-6u33-linux-i586.bin from:
 * http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
 * and move it to /mnt/data/portage/distfiles
vdr01 ~ #
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 67
Location: Germany

PostPosted: Fri Jul 13, 2012 7:19 am    Post subject: Reply with quote

falls du dem download vertraust, erstell doch ein neues digest

Code:
ebuild /usr/portage/dev-java/sun-jdk-1.6.0.33.ebuild digest
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 7:33 am    Post subject: Reply with quote

b3rT wrote:
falls du dem download vertraust, erstell doch ein neues digest

Code:
ebuild /usr/portage/dev-java/sun-jdk-1.6.0.33.ebuild digest


Nun, soweit war ich auch schon, leider aber funktioniert das auch nicht:

Code:
vdr01 ~ # ebuild /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.33.ebuild digest

!!! dev-java/sun-jdk-1.6.0.33 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
 * has become fetch restricted again. Alternatives are switching to
 * dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
 *
 * Please download jdk-6u33-linux-i586.bin from:
 * http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
 * and move it to /mnt/data/portage/distfiles
!!! Fetch failed for jdk-6u33-solaris-sparcv9.sh, can't update Manifest
vdr01 ~ #

Ich habe auch die "jdk-6u33-linux-i586.bin" schon mehrmals heruntergeladen.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1176

PostPosted: Fri Jul 13, 2012 7:35 am    Post subject: Reply with quote

aus deinem log von oben:
Quote:
Refetching... File renamed to '/mnt/data/portage/distfiles/jdk-6u33-linux-i586.bin._checksum_failure_.9xbIjQ'


sollte das problem hoffentlich beheben ;)
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 7:47 am    Post subject: Reply with quote

Was sollte das beheben???
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 67
Location: Germany

PostPosted: Fri Jul 13, 2012 7:48 am    Post subject: Reply with quote

/mnt/data/portage/distfiles/jdk-6u33-linux-i586.bin._checksum_failure_.9xbIjQ in /mnt/data/portage/distfiles/jdk-6u33-linux-i586.bin umbenennen, digest erstellen und alles wird gut.
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 7:55 am    Post subject: Reply with quote

Das funktioniert leider auch nicht.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1176

PostPosted: Fri Jul 13, 2012 8:58 am    Post subject: Reply with quote

ein bisschen mehr details außer "das funktioniert nicht" wären hilfreich ....
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 9:00 am    Post subject: Reply with quote

Christian99 wrote:
ein bisschen mehr details außer "das funktioniert nicht" wären hilfreich ....


Hat sich erledigt, es funktioniert nun.

Ich habe das ebuild entsprechend angepasst.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3627
Location: Germany

PostPosted: Fri Jul 13, 2012 2:08 pm    Post subject: Reply with quote

Hm nein, vermutlich wurde nicht wirklich das passende jdk-6u33-linux-i586.bin nach /distfiles kopiert.

Code:
md5sum  /usr/portage/distfiles/jdk-6u33-linux-i586.bin
276d31fabcc1f10b401c1e8b7680e460  /usr/portage/distfiles/jdk-6u33-linux-i586.bin
sollte für ein x86 (i686) System passen.
Back to top
View user's profile Send private message
paddew
n00b
n00b


Joined: 13 Jul 2012
Posts: 3

PostPosted: Fri Jul 13, 2012 3:26 pm    Post subject: Reply with quote

Servus,

ich hab exakt das selbe Problem und krieg hier grad nen Kackreiz, weil ich's eben nicht hinkrieg.
@3PO: Was genau hast du gemacht, dass es letztlich funktioniert hat?



Gruß

paddew
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1105
Location: Schwabenländle

PostPosted: Fri Jul 13, 2012 3:53 pm    Post subject: Reply with quote

paddew wrote:
[...] @3PO: Was genau hast du gemacht, dass es letztlich funktioniert hat?


Ich habe im ebuild, weil ich zu faul war alles herunterzuladen, alles was nicht x86 war entfernt und, dann das Manifestfile gelöscht und neu erstellt.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3627
Location: Germany

PostPosted: Fri Jul 13, 2012 3:59 pm    Post subject: Reply with quote

Ah, Oracle hat im Nachhinein (ohne Versions-bump) das Binary geändert... :roll:
Siehe zb auch https://bugs.gentoo.org/show_bug.cgi?id=426434
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 482

PostPosted: Fri Jul 13, 2012 6:45 pm    Post subject: Reply with quote

Also ich bin schon länger auf dev-java/icedtea umgestiegen wie es in den elog-Messages für sun-jdk empfohlen wird. Keine Kompatibilitätsprobleme. Meines Wissens ist es das selbe Java, (OpenJDK-Projekt) nur halt als Fork ohne Fetch-Restriction und als Source verfügbar. Also Gentoo-Like.
Back to top
View user's profile Send private message
paddew
n00b
n00b


Joined: 13 Jul 2012
Posts: 3

PostPosted: Mon Jul 16, 2012 6:59 am    Post subject: Reply with quote

öhm

Code:
# repoman manifest --force

!!! dev-java/sun-jdk-1.6.0.33 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
 * has become fetch restricted again. Alternatives are switching to
 * dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
 *
 * Please download jdk-6u33-linux-x64.bin from:
 * http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
 * and move it to /usr/portage/distfiles
!!! Fetch failed for jdk-6u33-solaris-sparcv9.sh, can't update Manifest
Unable to generate manifest.


Was sollte mir das sagen? :-D
Back to top
View user's profile Send private message
b3rT
n00b
n00b


Joined: 09 Jun 2003
Posts: 67
Location: Germany

PostPosted: Mon Jul 16, 2012 9:04 am    Post subject: Reply with quote

# repoman manifest --force

!!! dev-java/sun-jdk-1.6.0.33 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.
See the comments in the ebuild for more information.

* Due to Oracle no longer providing the distro-friendly DLJ bundles, the package
* has become fetch restricted again. Alternatives are switching to
* dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6
*
* Please download jdk-6u33-linux-x64.bin from:
* http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html

* and move it to /usr/portage/distfiles
!!! Fetch failed for jdk-6u33-solaris-sparcv9.sh, can't update Manifest
Unable to generate manifest.
Back to top
View user's profile Send private message
paddew
n00b
n00b


Joined: 13 Jul 2012
Posts: 3

PostPosted: Mon Jul 16, 2012 9:52 am    Post subject: Reply with quote

jaja ok, ich habs kapiert..
welcher rechtschaffende Bürger kommt schon auf die Idee, die Solaris-Version runterladen zu müssen, um x64 zu installieren :roll:
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3627
Location: Germany

PostPosted: Mon Jul 16, 2012 4:25 pm    Post subject: Reply with quote

Hehe, selbst ein neues manifest anzulegen sollte eigentlich nicht mehr nötig sein. Das ganze wurde schon im portage Tree gefixt bzw angepasst.
Nach einem emerge --sync sollte das ganze wieder problemlos funktionieren.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum