Dist-Upgrade - LibreOffice 依賴項晚於所需時間

Dist-Upgrade - LibreOffice 依賴項晚於所需時間

當我嘗試更新我的 Ubuntu 盒子時,出現以下錯誤:

dpkg: dependency problems prevent configuration of libreoffice-base:
 libreoffice-base depends on libreoffice-base-core (= 1:4.2.4~rc2-0ubuntu1~precise3); however:
  Version of libreoffice-base-core on system is 1:4.3.0-3ubuntu2~precise1.
 libreoffice-base depends on libreoffice-base-drivers (= 1:4.2.4~rc2-0ubuntu1~precise3); however:
  Version of libreoffice-base-drivers on system is 1:4.3.0-3ubuntu2~precise1.
 libreoffice-base depends on libreoffice-core (= 1:4.2.4~rc2-0ubuntu1~precise3); however:
  Version of libreoffice-core on system is 1:4.3.0-3ubuntu2~precise1.
 libreoffice-core (1:4.3.0-3ubuntu2~precise1) breaks libreoffice-base (<< 1:4.3.0-3ubuntu2~precise1) and is installed.
  Version of libreoffice-base to be configured is 1:4.2.4~rc2-0ubuntu1~precise3.
 libreoffice-base-drivers (1:4.3.0-3ubuntu2~precise1) breaks libreoffice-base (<< 1:4.3.0-3ubuntu2~) and is installed.
  Version of libreoffice-base to be configured is 1:4.2.4~rc2-0ubuntu1~precise3.

由於我不知道的原因,依賴項比所需的要新。我已經嘗試過 install -f 但沒有成功。有沒有辦法在不完全重新安裝 LibreOffice 的情況下修復此問題?

答案1

最後,我設法解決了我的情況。馬克柯比建議我執行以下命令:

sudo apt-get remove --purge libreoffice*

……但我仍然收到有關未滿足的依賴關係的錯誤。

但!我發現如果我「覆蓋」小丑並寫下我的電腦上安裝的每個 libreoffice 軟體包,該命令不會給出錯誤,如下所示:

sudo apt-get remove --purge libreoffice-base libreoffice-writer libreoffice-calc

等等。之後,我只需重新運行安裝,LibreOffice 就可以順利返回。

不幸的是,我沒有找到一個不意味著完全重新安裝 LibreOffice 的解決方案

相關內容