에서 Sun JDK 설치를 시도했지만 sudo add-apt-repository ppa:eugenesan/java
다음과 같이 실패했습니다.
Downloading...
--2012-05-05 15:50:09-- http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 80.239.230.162
Connecting to download.oracle.com (download.oracle.com)|80.239.230.162|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz [following]
--2012-05-05 15:50:09-- https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 2.17.254.174
Connecting to edelivery.oracle.com (edelivery.oracle.com)|2.17.254.174|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2012-05-05 15:50:09-- http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|80.239.230.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: `./jdk-7u3-linux-x64.tar.gz'
0K ..... 100% 20.5M=0s
2012-05-05 15:50:09 (20.5 MB/s) - `./jdk-7u3-linux-x64.tar.gz' saved [5307/5307]
Download done.
sha256sum mismatch jdk-7u3-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java7-installer
따라서 잘못된 URL을 가져 오려고합니다. Java를 수동으로 설치했지만 이제 패키지가 반 설치로 멈췄으며 내가 할 때마다 apt-get install
오류가 다시 나타납니다.
apt-get install -f
"1이 완전히 설치 또는 제거되지 않았습니다." 동일한 오류로 패키지에 실패합니다. 시도 dpkg -P oracle-java7-installer
했지만 실패합니다.
이 반 설치 패키지를 제거하는 방법은 무엇입니까?