我想在 Libre Office 旁边安装开放式办公室(我不想摆脱 LibreOffice),但每当我尝试安装桌面集成时,我都会收到以下错误:
(Reading database ... 206617 files and directories currently installed.)
Preparing to unpack .../openoffice4.1-debian-menus_4.1.1-9775_all.deb ...
Unpacking openoffice-debian-menus (4.1.1-9775) ...
dpkg: error processing archive /home/darkwraith/Setups/en-GB/DEBS/desktop-integration/openoffice4.1-debian-menus_4.1.1-9775_all.deb (--install):
trying to overwrite '/usr/bin/soffice', which is also in package libreoffice-common 1:4.2.6.3-0ubuntu1
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
/usr/bin/gtk-update-icon-cache
gtk-update-icon-cache: Cache file created successfully.
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
/home/darkwraith/Setups/en-GB/DEBS/desktop-integration/openoffice4.1-debian-menus_4.1.1-9775_all.deb
我将非常感激被告知采取哪些步骤来解决上述问题,谢谢
答案1
我刚刚在这个 SO 线程。基本上,在安装 OpenOffice 之前,应该删除soffice
LibreOffice 创建的符号链接,然后强制安装dekstop-integration
软件包。