Por que isso continua querendo instalar o Java 7? Eu não quero o Java 7, posso de alguma forma parar de tentar?

0

Por que continua querendo instalar o oracle-java7-installer? Existe alguma maneira que eu possa impedir que isso seja feito?

home@home-Vostro-220s-Series:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  printer-driver-postscript-hp
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 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-java7-installer (7u51-0~webupd8~1) ...
Downloading Oracle Java 7...
--2014-07-26 18:26:07--  http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 219.76.14.26, 219.76.14.9
Connecting to download.oracle.com (download.oracle.com)|219.76.14.26|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz [following]
--2014-07-26 18:26:07--  https://edelivery.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.41.102.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.41.102.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2014-07-26 18:26:08--  http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|219.76.14.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: 'jdk-7u51-linux-x64.tar.gz'

     0K                                                      100% 38.3M=0s

2014-07-26 18:26:08 (38.3 MB/s) - 'jdk-7u51-linux-x64.tar.gz' saved [5307/5307]

Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-7u51-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
home@home-Vostro-220s-Series:~$ 
    
por Phil 26.07.2014 / 12:28

1 resposta

2

Você tem um pacote instalado chamado oracle-java7-installer e ele faz o download do Oracle JDK 7 como parte de seu processo de instalação. Quando você executa apt-get upgrade , ele conclui a instalação de qualquer pacote parcialmente instalado; você pode executar apt-get install para fazer isso sem atualizar nenhum pacote (normalmente, isso não faz nada porque todos os pacotes estão totalmente instalados). Se você não quiser o Java 7, remova este pacote:

apt-get remove oracle-java7-installer
    
por 26.07.2014 / 15:28

Tags