Ubuntu - 运行 apt-get install 就出现jdk installer 错误的解决方法
2013-04-05 18:44
786 查看
~$ sudo apt-get install scrot
[sudo] password for ****:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kde-l10n-engb calligra-l10n-engb kde-l10n-zhcn calligra-l10n-zhcn
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
giblib1 libid3tag0 libimlib2
The following NEW packages will be installed:
giblib1 libid3tag0 libimlib2 scrot
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 271 kB of archives.
After this operation, 902 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libid3tag0 i386 0.15.1b-10build2 [35.5 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libimlib2 i386 1.4.4-1build1 [199 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe giblib1 i386 1.2.4-8 [20.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/universe scrot i386 0.8-13 [15.7 kB]
Fetched 271 kB in 2s (114 kB/s)
Selecting previously unselected package libid3tag0.
(Reading database ... 246595 files and directories currently installed.)
Unpacking libid3tag0 (from .../libid3tag0_0.15.1b-10build2_i386.deb) ...
Selecting previously unselected package libimlib2.
Unpacking libimlib2 (from .../libimlib2_1.4.4-1build1_i386.deb) ...
Selecting previously unselected package giblib1.
Unpacking giblib1 (from .../giblib1_1.2.4-8_i386.deb) ...
Selecting previously unselected package scrot.
Unpacking scrot (from .../archives/scrot_0.8-13_i386.deb) ...
Processing triggers for man-db ...
Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ...
Downloading...
--2013-04-05 18:20:04-- http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 112.25.34.8
Connecting to download.oracle.com (download.oracle.com)|112.25.34.8|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2013-04-05 18:20:04-- https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.41.86.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.41.86.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2013-04-05 18:20:05-- http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|112.25.34.8|: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% 646K=0.008s
2013-04-05 18:20:05 (646 KB/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
Setting up libid3tag0 (0.15.1b-10build2) ...
Setting up libimlib2 (1.4.4-1build1) ...
Setting up giblib1 (1.2.4-8) ...
Setting up scrot (0.8-13) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
运行 apt-get install 就出现黑体部分的错误的解决方法
http://askubuntu.com/questions/163429/error-when-installing-oracle-java7-installer
[sudo] password for ****:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
kde-l10n-engb calligra-l10n-engb kde-l10n-zhcn calligra-l10n-zhcn
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
giblib1 libid3tag0 libimlib2
The following NEW packages will be installed:
giblib1 libid3tag0 libimlib2 scrot
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 271 kB of archives.
After this operation, 902 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libid3tag0 i386 0.15.1b-10build2 [35.5 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main libimlib2 i386 1.4.4-1build1 [199 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/universe giblib1 i386 1.2.4-8 [20.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/universe scrot i386 0.8-13 [15.7 kB]
Fetched 271 kB in 2s (114 kB/s)
Selecting previously unselected package libid3tag0.
(Reading database ... 246595 files and directories currently installed.)
Unpacking libid3tag0 (from .../libid3tag0_0.15.1b-10build2_i386.deb) ...
Selecting previously unselected package libimlib2.
Unpacking libimlib2 (from .../libimlib2_1.4.4-1build1_i386.deb) ...
Selecting previously unselected package giblib1.
Unpacking giblib1 (from .../giblib1_1.2.4-8_i386.deb) ...
Selecting previously unselected package scrot.
Unpacking scrot (from .../archives/scrot_0.8-13_i386.deb) ...
Processing triggers for man-db ...
Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ...
Downloading...
--2013-04-05 18:20:04-- http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 112.25.34.8
Connecting to download.oracle.com (download.oracle.com)|112.25.34.8|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2013-04-05 18:20:04-- https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.41.86.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.41.86.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2013-04-05 18:20:05-- http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|112.25.34.8|: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% 646K=0.008s
2013-04-05 18:20:05 (646 KB/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
Setting up libid3tag0 (0.15.1b-10build2) ...
Setting up libimlib2 (1.4.4-1build1) ...
Setting up giblib1 (1.2.4-8) ...
Setting up scrot (0.8-13) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
运行 apt-get install 就出现黑体部分的错误的解决方法
sudo rm /var/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-get update sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
http://askubuntu.com/questions/163429/error-when-installing-oracle-java7-installer
相关文章推荐
- Ubuntu - 运行 apt-get install 就出现jdk installer 错误的解决方法
- Ubuntu在执行sudo apt-get install ***出现E:Encountered a section with no Package header错误解决方法
- Linux 运行 apt-get install 就出现jdk installer 错误的解决方法
- 安装Ubuntu之后默认英文,选简体中文,正常来说这样装好就应该能用的,可是这个时候又出现了错误,說:broken package database. 请用apt-get install -f解决问题
- 重装Ubuntu 14.04后使用apt-get安装build-essential(即sudo apt-get install build-essential)时出现包依赖项问题的解决方法
- ubuntu 使用sudo apt-get update 出现 被配置多次导致无法升级错误解决方法
- apt-get update出现NO_PUBKEY错误的解决方法
- ubuntu下用apt-get install 安装软件时出现 initramfs-tools错误
- ubuntu中apt-get dpkg应用出现的问题及解决方法
- sudo apt-get install **时,出现错误{更换介质:请把标有 “Ubuntu-Kylin 14.04 LTS _Trusty Tahr_ ...}
- apt-get install安装软件时出现依赖错误解决方式
- ns2运行nam图形界面时,出现错误_X11TransSocketINETConnect:Can't get address for Administrator解决方法
- apt-get 安装软件时,出现错误的解决方法
- ubuntu图下安装软件出现You might want to run 'apt-get -f install' to correct these解决
- ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决 通过终端安装程序sudo apt-get install xxx时出错: E: Coul
- 出现命令提示apt-get -f install的解决方法
- linux(ubuntu)安装软件出现You might want to run 'apt-get -f install' to correct these解决
- Ubuntu14.04 运行命令 sudo apt-get update出现无法解析 软件无法下载的错误
- apt-get update 出现GPG错误解决方法
- ubuntu图下安装软件出现You might want to run 'apt-get -f install' to correct these解决