新立得报错求助.....在线等。。。。。。。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
cuckoo1978
帖子: 513
注册时间: 2009-05-09 14:42
来自: 济南
联系:

新立得报错求助.....在线等。。。。。。。

#1

帖子 cuckoo1978 » 2010-03-24 10:07

用新立得装sun的java6的时候有个报错,后来jdk也能用,但是后来每次系统自己升级都会报java6 有问题,,,今天想拆掉重新安装,结果用软件中心拆到一半就停着不动 后来重启,结果一启动 新立得就报下面错误:

E: dpkg 的操作被中断了, 您必须手动执行 'sudo dpkg --configure -a' 以修复这个问题。
E: _cache->open() failed, please report.

执行了 sudo dpkg --configure -a 出现如下结果
正在设置 sun-java6-doc (6-15-1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6u10-docs.zip jdk-6u10-docs-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

jdk-6u10-docs.zip jdk-6u10-docs-ja.zip

(choose the non-update version if this is the first installation).
Please visit

http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

输入 no的话出现
[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg:处理 sun-java6-doc (--configure)时出错:
子进程 已安装的 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
sun-java6-doc


望高手 指点。。。。。。在线等。。。 :em20
废土狂猪 :看啥 ,没见过网管吗,再看 吃了你!
头像
cuckoo1978
帖子: 513
注册时间: 2009-05-09 14:42
来自: 济南
联系:

Re: 新立得报错求助.....在线等。。。。。。。

#2

帖子 cuckoo1978 » 2010-03-24 10:08

升级的时候也是报这个错误,,现在新立得不能用。。。。。 :em20
废土狂猪 :看啥 ,没见过网管吗,再看 吃了你!
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 新立得报错求助.....在线等。。。。。。。

#3

帖子 smallapple » 2010-03-24 10:12

代码: 全选

sudo apt-get purge sun-java6-doc
头像
cuckoo1978
帖子: 513
注册时间: 2009-05-09 14:42
来自: 济南
联系:

Re: 新立得报错求助.....在线等。。。。。。。

#4

帖子 cuckoo1978 » 2010-03-24 10:14

呵呵,,谢谢阿,,问题解决,,,,,
废土狂猪 :看啥 ,没见过网管吗,再看 吃了你!
头像
cuckoo1978
帖子: 513
注册时间: 2009-05-09 14:42
来自: 济南
联系:

Re: 新立得报错求助.....在线等。。。。。。。

#5

帖子 cuckoo1978 » 2010-03-24 10:31

请问 上面的命令和 sudo apt-get remove 有啥区别,,
刚才查询好像 sudo apt-get purge 相关的解释很少,,,
purge 字面意思是清洗。。。
废土狂猪 :看啥 ,没见过网管吗,再看 吃了你!
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 新立得报错求助.....在线等。。。。。。。

#6

帖子 smallapple » 2010-03-24 10:41

remove 把软件标志为删除,但保留配置文件
purge 连同配置文件一并删除
fpxzy
帖子: 4
注册时间: 2009-06-10 22:33

Re: 新立得报错求助.....在线等。。。。。。。

#7

帖子 fpxzy » 2010-03-24 17:38

先是下载jdk-6u18-docs.zip,移动或者复制到 /tmp目录下
复制命令 cp jdk-6u18-docs.zip /tmp
或者移动命令:mv jdk-6u18-docs.zip /tmp
再将jdk-6u18-docs.zip重命名为 jdk-6u10-docs.zip
命令: mv jdk-6u18-docs.zip jdk-6u10-docs.zip
当然,还要修改文件的权限:sudo chown root:root jdk-6u10-docs.zip
然后:sudo apt-get install sun-java6-jdk
就成功了
关键是要把下载的那个jdk-6u18-docs.zip名字修改成控制台里提示的名字版本就OK 了。
回复