我想與 Libre Office 一起安裝開放式 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
我剛剛發布了同一問題的答案這個所以線程。基本上,在安裝 OpenOffice 之前,應該刪除soffice
已建立的 LibreOffice 的符號鏈接,然後強制安裝dekstop-integration
軟體包。