我尝试在 Ubuntu 12.04 上将 LibreOffice 升级到 4.0,但现在它不再起作用了。如果我尝试再次安装 LibreOffice,我会得到以下输出:
The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-core (= 1:3.6.0~rc4-0ubuntu3~ppa1~precise1) 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
libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.0~rc4-0ubuntu3~ppa1~precise1) but it is not going to be installed
Depends: libreoffice-gtk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
如果有人能帮助我,那就太好了!
谢谢!
答案1
您是否尝试过安装它这边走?
我昨天就是这样做的,效果非常好!
答案2
我可以通过在终端中输入以下内容(每行后按回车键)强制 Ubuntu 升级到版本 4.0。
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade
如果由于某种原因您没有安装 LibreOffice,那么请输入此内容而不是最后一行。
sudo apt-get install libreoffice
答案3
你可以试试这升级到的问题自由办公室4.0。