我安装了 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.
答案1
我必须从 Synaptic 包管理器安装“ure”,但在选项中我必须选择“强制使用以前的版本”,即 4.0.2.... 之后,我就可以安装 Libre Office...
答案2
要安装 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?