Eu recebo este erro ao tentar instalar o Java no Ubuntu 17.10. Este é o meu primeiro 3 horas com a nova versão e estou confuso. A informação completa do terminal está abaixo:
sudo apt-get install default-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
default-jdk is already the newest version (2:1.8-59ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up oracle-java8-installer (8u151-1~webupd8~0) ...
Using wget settings from /var/cache/oracle-jdk8-installer/wgetrc
Downloading Oracle Java 8...
--2018-01-18 18:26:08-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 104.84.106.199
Connecting to download.oracle.com (download.oracle.com)|104.84.106.199|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]
--2018-01-18 18:26:08-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 2600:1408:24:583::2d3e, 2600:1408:24:5a5::2d3e, 23.40.60.217
Connecting to edelivery.oracle.com (edelivery.oracle.com)|2600:1408:24:583::2d3e|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516318089_64a3e3c57191750eba98492c0a8506c3 [following]
--2018-01-18 18:26:09-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516318089_64a3e3c57191750eba98492c0a8506c3
Connecting to download.oracle.com (download.oracle.com)|104.84.106.199|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-18 18:26:10 ERROR 404: Not Found.
download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of default-jre:
default-jre depends on openjdk-8-jre; however:
Package openjdk-8-jre is not installed.
Package oracle-java8-installer which provides openjdk-8-jre is not configured yet.
dpkg: error processing package default-jre (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk:
default-jdk depends on default-jre (= 2:1.8-59ubuntu1); however:
Package default-jre is not configured yet.
Version of default-jre on system, provided by oracle-java8-installer:all, is <none>.
default-jdk depends on openjdk-8-jdk; however:
Package openjdk-8-jdk is not installed.
Package oracle-java8-installer which provides openjdk-8-jdk is not configured yet.
dpkg: error processing package default-jdk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jre-headless:
default-jre-headless depends on openjdk-8-jre-headNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
less; however:
Package openjdk-8-jre-headless is not installed.
Package oracle-java8-installer which provides openjdk-8-jre-headless is not configured yet.
dpkg: error processing package default-jre-headless (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk-headless:
default-jdk-headless depends on default-jre-headless (= 2:1.8-59ubuntu1); however:
Package default-jre-headless is not configured yet.
Version of default-jre-headless on system, provided by oracle-java8-installer:all, is <none>.
default-jdk-headless depends on openjdk-8-jdk-headless; however:
Package openjdk-8-jdk-headless is not installed.
Package oracle-java8-installer which provides openjdk-8-jdk-headless is not configured yet.
dpkg: error processing package default-jdk-headless (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
oracle-java8-installer
default-jre
default-jdk
default-jre-headless
default-jdk-headless
E: Sub-process /usr/bin/dpkg returned an error code (1)
Qualquer ajuda é muito apreciada para me ajudar a me recuperar: D