Oracle JAVA installation havererade
Postat: 21 maj 2012, 17:04
Hej,
Jag skulle installera Oracle JAVA och prova istället för openJDK som ej fungerar för sonens minecraft.
Något gick fel vid installationen och nu får jag ett felmeddelande när jag kör sudo apt-get dist-upgrade.
Kan någon hjälpa mig att förstå hur jag får bort detta felmeddelande?
Tack på förhand!
---------------------------------------------------------
peter@peter-HP-nw9440:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 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 (7u3-0~eugenesan~precise4) ...
Downloading...
--2012-05-21 16:57:35-- http://download.oracle.com/otn-pub/java ... 586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 80.239.254.128, 80.239.254.120
Connecting to download.oracle.com (download.oracle.com)|80.239.254.128|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/ja ... 586.tar.gz [following]
--2012-05-21 16:57:35-- https://edelivery.oracle.com/otn-pub/ja ... 586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 2.22.42.174
Connecting to edelivery.oracle.com (edelivery.oracle.com)|2.22.42.174|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/downl ... 05220.html [following]
--2012-05-21 16:57:36-- http://download.oracle.com/errors/downl ... 05220.html
Connecting to download.oracle.com (download.oracle.com)|80.239.254.128|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5,2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'
0K ..... 100% 2,45M=0,002s
2012-05-21 16:57:36 (2,45 MB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]
Download done.
sha256sum mismatch jdk-7u3-linux-i586.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
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------------
Jag skulle installera Oracle JAVA och prova istället för openJDK som ej fungerar för sonens minecraft.
Något gick fel vid installationen och nu får jag ett felmeddelande när jag kör sudo apt-get dist-upgrade.
Kan någon hjälpa mig att förstå hur jag får bort detta felmeddelande?
Tack på förhand!
---------------------------------------------------------
peter@peter-HP-nw9440:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 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 (7u3-0~eugenesan~precise4) ...
Downloading...
--2012-05-21 16:57:35-- http://download.oracle.com/otn-pub/java ... 586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 80.239.254.128, 80.239.254.120
Connecting to download.oracle.com (download.oracle.com)|80.239.254.128|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/ja ... 586.tar.gz [following]
--2012-05-21 16:57:35-- https://edelivery.oracle.com/otn-pub/ja ... 586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 2.22.42.174
Connecting to edelivery.oracle.com (edelivery.oracle.com)|2.22.42.174|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/downl ... 05220.html [following]
--2012-05-21 16:57:36-- http://download.oracle.com/errors/downl ... 05220.html
Connecting to download.oracle.com (download.oracle.com)|80.239.254.128|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5,2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'
0K ..... 100% 2,45M=0,002s
2012-05-21 16:57:36 (2,45 MB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]
Download done.
sha256sum mismatch jdk-7u3-linux-i586.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
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------------