无法安装LibreOffice

可能重复:
修复损坏的包裹
如何在Ubuntu 12.04中安装Libreoffice 3.5.4?

Ubuntu存储库有什么问题?

sudo apt-get install libreoffice Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libreoffice : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) but it is not going to be installed Depends: libreoffice-writer but it is not going to be installed Depends: libreoffice-calc but it is not going to be installed Depends: libreoffice-impress but it is not going to be installed Depends: libreoffice-draw but it is not going to be installed Depends: libreoffice-math but it is not going to be installed Depends: libreoffice-base but it is not going to be installed Depends: libreoffice-filter-mobiledev but it is not going to be installed Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed Recommends: libreoffice-gnome but it is not going to be installed or libreoffice-kde but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

解决方法是将软件包libexttextcat-data的版本强制为3.2.0-1ubuntu1(默认情况下不强制为3.3.1-2~minide1)。 当我尝试升级版本3.3.1-2~preminly1整个libreoffice被标记为删除。

转到synaptic包管理器(如果您还没有它,请下载它)。 尝试查看您的post中是否安装了任何软件包(使用filter),然后转到菜单选择编辑>修复损坏的软件包。

或者,如果你最近使用Wubi安装了Ubuntu,那我前几天注意到Quantal Quetzal beta或alpha目前正在使用。 这不稳定,我有很多“破包”。 如果是这样的话,我没有足够的技能来帮助你。 你可能需要另一种安排,例如: – 双重启动(警告:在尝试之前广泛做你的功课); – 在VirtualBox或VMware中安装Ubuntu。