ubuntu 安装 jdk-6u5-linux-i586-rpm.bin

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
gwazy
帖子: 2
注册时间: 2008-04-01 9:40
送出感谢: 0
接收感谢: 0

ubuntu 安装 jdk-6u5-linux-i586-rpm.bin

#1

帖子 gwazy » 2008-04-01 9:45

root@gw-laptop:/usr/local# sudo chmod +x jdk-6u5-linux-i586-rpm.bin
root@gw-laptop:/usr/local# sudo ./jdk-6u5-linux-i586-rpm.bin




Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
replace jdk-6u5-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: jdk-6u5-linux-i586.rpm
replace sun-javadb-common-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-common-10.3.1-4.1.i386.rpm
replace sun-javadb-core-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-core-10.3.1-4.1.i386.rpm
replace sun-javadb-client-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-client-10.3.1-4.1.i386.rpm
replace sun-javadb-demo-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-demo-10.3.1-4.1.i386.rpm
replace sun-javadb-docs-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-docs-10.3.1-4.1.i386.rpm
replace sun-javadb-javadoc-10.3.1-4.1.i386.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: sun-javadb-javadoc-10.3.1-4.1.i386.rpm
error: Failed dependencies:
/bin/basename is needed by jdk-1.6.0_05-fcs.i586
/bin/cat is needed by jdk-1.6.0_05-fcs.i586
/bin/cp is needed by jdk-1.6.0_05-fcs.i586
/bin/gawk is needed by jdk-1.6.0_05-fcs.i586
/bin/grep is needed by jdk-1.6.0_05-fcs.i586
/bin/ln is needed by jdk-1.6.0_05-fcs.i586
/bin/ls is needed by jdk-1.6.0_05-fcs.i586
/bin/mkdir is needed by jdk-1.6.0_05-fcs.i586
/bin/mv is needed by jdk-1.6.0_05-fcs.i586
/bin/pwd is needed by jdk-1.6.0_05-fcs.i586
/bin/rm is needed by jdk-1.6.0_05-fcs.i586
/bin/sed is needed by jdk-1.6.0_05-fcs.i586
/bin/sort is needed by jdk-1.6.0_05-fcs.i586
/bin/touch is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/cut is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/dirname is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/expr is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/find is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/tail is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/tr is needed by jdk-1.6.0_05-fcs.i586
/usr/bin/wc is needed by jdk-1.6.0_05-fcs.i586
/bin/sh is needed by jdk-1.6.0_05-fcs.i586
Installing JavaDB
error: Failed dependencies:
/bin/sh is needed by sun-javadb-core-10.3.1-4.1.i386

Done.

我在redhat 下可以得阿
magiciany
帖子: 393
注册时间: 2007-04-25 11:49
送出感谢: 0
接收感谢: 0

#2

帖子 magiciany » 2008-04-04 23:55

/bin/sh is needed by sun-javadb-core-10.3.1-4.1.i386
建立一个/bin/sh的连接呢?连到一个shell上,bash dash应该都差不多吧,不行就换个sh再试试看。
头像
oneleaf
论坛管理员
帖子: 10237
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 107 次

#3

帖子 oneleaf » 2008-04-05 0:52

下错了,这个是rpm包,ubuntu下安装jdk6,直接到新立得安装。
回复

回到 “服务器基础应用”