LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 882|回复: 4

Openoffice.org升级出错

[复制链接]
发表于 2008-2-28 21:58:44 | 显示全部楼层 |阅读模式
把源换成了Unstable,安装升级时有错误提示
Errors were encountered while processing:
openoffice.org-writer2latex
openoffice.org-writer
openoffice.org
openoffice.org-help-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)

# apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  netcat-traditional gcalctool gnome-nettool genisoimage gucharmap zenity
  type-handling esound lzma unzip rhythmbox w3c-dtd-xhtml gedit
  python-gtksourceview2 gtk2-engines-pixbuf libsoup2.2-8 g++ sepolgen
  gedit-common libelf1 fast-user-switch-applet gnome-volume-manager
  gtk2-engines libgtksourceview2.0-common gdb eog gdm libgtksourceview2.0-0
  bug-buddy wodim vino gnome-keyring-manager libtimedate-perl dpkg-dev
  libgnomevfs2-bin xserver-xephyr zip gnome-core xserver-xorg-video-i810
  pmount gconf-editor gnome-system-tools totem file-roller sound-juicer
  build-essential
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up openoffice.org-writer2latex (0.5-5) ...
Adding extension /usr/lib/openoffice/share/extension/install/writer2latex.uno.pkg...There was an error trying to initialize the HPI library.
[Java framework] sunjavaplugin.soCan not create Java Virtual Machine

unopkg failed.
dpkg: error processing openoffice.org-writer2latex (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openoffice.org-writer:
openoffice.org-writer depends on openoffice.org-writer2latex; however:
  Package openoffice.org-writer2latex is not configured yet.
dpkg: error processing openoffice.org-writer (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org:
openoffice.org depends on openoffice.org-writer; however:
  Package openoffice.org-writer is not configured yet.
dpkg: error processing openoffice.org (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openoffice.org-writer2latex
openoffice.org-writer
openoffice.org
E: Sub-process /usr/bin/dpkg returned an error code (1)

怎么办?还需要提供那些信息?


Debian sid
内核版本是2.6.24-1-686
发表于 2008-3-1 14:19:31 | 显示全部楼层
你的 Java 设置有问题。不过我没有设置过。默认用 gcj 应该不会有问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-1 16:07:34 | 显示全部楼层
今天升级,结果Openoffice.org-base,Openoffice.org-calc,Openoffice.org-impress,Openoffice.org-writer被移除了
在Synaptic Pakage Manager里选择安装,就提示要卸载openoffice.org-core等等,确定之后就出现这个提示:
openoffice.org-base:
Depends: openoffice.org-core but it is not going to be installed
Depends: openoffice.org-java-common but it is not going to be installed
这个依赖问题该怎么办?
回复 支持 反对

使用道具 举报

发表于 2008-3-1 19:40:20 | 显示全部楼层
把原来的openoffice的软件包卸载干净就可以了,然后再装。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-1 21:42:37 | 显示全部楼层
谢谢大家
卸载后重装2.4还是一样,unresolved depencies
我把源换成testing的,卸载后重装了2.3的,现在能用了
不再轻易试水unstable了,先老老实实学习基础知识
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表