安装libreoffice 4-0时出错

我安装了LibreOffice 4.0.4,然后我添加了PPA LibreOffice 4-1,并安装了新版本(LO 4-1)。 但是,有菜单延迟问题,所以我决定删除4-1并再次安装4-0 …

sudo apt-get remove --purge libreoffice* sudo apt-get clean sudo apt-get autoremove 

LO 4-1被移除,但现在我无法安装4-0。

这是错误消息:

 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-base but it is not going to be installed Depends: libreoffice-calc but it is not going to be installed Depends: libreoffice-core (= 1:4.0.2-0ubuntu1) but it is not going to be installed Depends: libreoffice-draw but it is not going to be installed Depends: libreoffice-filter-mobiledev but it is not going to be installed Depends: libreoffice-impress but it is not going to be installed Depends: libreoffice-math but it is not going to be installed Depends: libreoffice-report-builder-bin but it is not going to be installed Depends: libreoffice-writer but it is not going to be installed Depends: libreoffice-java-common (>= 1:4.0.2~) but it is not going to be installed Depends: python3.3-uno but it is not installable or python3-uno (>= 4.0~) but it is not going to be installed or python-uno 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. 

我不得不从Synaptic Package Manager安装“ure”,但在选项中我必须选择“强制使用以前的版本”,即。 4.0.2 ….之后,我能够安装Libre Office …

要安装LibreOffice 4,您需要完全删除所有以前的版本。 跑:

 sudo apt-get remove --purge libreoffice-core libreoffice-common sudo apt-get autoremove --purge 

然后安装: –

 sudo add-apt-repository ppa:libreoffice/libreoffice-4-0 sudo apt-get update sudo apt-get dist-upgrade 

或获取更多详细信息,您可以看到此问: 如何安装LibreOffice 4?