Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

[SOLVED]emerge java not working


kea0463

Question

When I tried to update system Java not wanting to update:

$  sudo emerge -auDN @world

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

Calculating dependencies... done!
[ebuild  NS    ] dev-java/oracle-jdk-bin-1.8.0.45 [1.7.0.76] USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -jce -pax_kernel (-selinux) -source" 
[ebuild  NS    ] virtual/jdk-1.8.0-r1 [1.7.0-r1]
[ebuild  NS    ] virtual/jre-1.8.0-r1 [1.7.0-r1]

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 3) dev-java/oracle-jdk-bin-1.8.0.45
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
>>> Downloading 'http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-8u45-linux-x64.tar.gz'
--2015-06-04 12:01:20--  http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-8u45-linux-x64.tar.gz
Resolving ftp.osuosl.org... 64.50.233.100
Connecting to ftp.osuosl.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-06-04 12:01:20 ERROR 404: Not Found.

>>> Downloading 'http://build.funtoo.org/distfiles/oracle-java/jdk-8u45-linux-x64.tar.gz'
--2015-06-04 12:01:20--  http://build.funtoo.org/distfiles/oracle-java/jdk-8u45-linux-x64.tar.gz
Resolving build.funtoo.org... 72.18.147.141
Connecting to build.funtoo.org|72.18.147.141|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-06-04 12:01:20 ERROR 403: Forbidden.

!!! Couldn't download 'jdk-8u45-linux-x64.tar.gz'. Aborting.
 * Fetch failed for 'dev-java/oracle-jdk-bin-1.8.0.45', Log file:
 *  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.45/temp/build.log'

>>> Failed to emerge dev-java/oracle-jdk-bin-1.8.0.45, Log file:

>>>  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.45/temp/build.log'

 * Messages for package dev-java/oracle-jdk-bin-1.8.0.45:

 * Fetch failed for 'dev-java/oracle-jdk-bin-1.8.0.45', Log file:
 *  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.45/temp/build.log'

What do i do to update?, it looks like wrong website but I do not know how to fix this.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Yes, It's working now:

sudo emerge -auDN @world

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

Calculating dependencies... done!
[ebuild  NS    ] dev-java/oracle-jdk-bin-1.8.0.45 [1.7.0.76] USE="X alsa fontconfig nsplugin (-aqua) -derby -doc -jce -pax_kernel (-selinux) -source" 
[ebuild  NS    ] virtual/jdk-1.8.0-r1 [1.7.0-r1]
[ebuild  NS    ] virtual/jre-1.8.0-r1 [1.7.0-r1]

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 3) dev-java/oracle-jdk-bin-1.8.0.45
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.

Link to comment
Share on other sites

×
×
  • Create New...