当我试图更新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.由于一个我不知道的原因,这些依赖项比所需的要新。我已经尝试过安装-f,但没有成功。有没有办法在不完全重新安装LibreOffice的情况下修复这个问题?
发布于 2014-08-26 19:57:24
最后,我设法解决了我的处境。Mark Kirby建议我运行以下命令:
sudo apt-get remove --purge libreoffice*...but I仍然收到关于未满足的依赖项的错误。
但!我发现,如果我“覆盖”这个开玩笑程序并写下安装在我的计算机上的每个libreoffice包,该命令就不会出现错误,如下所示:
sudo apt-get remove --purge libreoffice-base libreoffice-writer libreoffice-calc诸若此类。在此之后,我只需重新运行一个安装程序,LibreOffice就可以正常运行了。
不幸的是,我没有找到一个不意味着完全重新安装LibreOffice的解决方案
https://askubuntu.com/questions/516281
复制相似问题