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

最后,我设法解决了我的问题。Mark Kirby 建议我运行以下命令:

sudo apt-get remove --purge libreoffice*

...但我仍然收到有关未满足依赖关系的错误。

但是!我发现,如果我“覆盖” joker 并写下安装在我电脑上的所有 libreoffice 软件包,该命令不会给出任何错误,如下所示:

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

等等。此后,我只需重新运行安装,LibreOffice 即可顺利恢复。

不幸的是,我没有找到不需要完全重新安装 LibreOffice 的解决方案

相关内容