dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.1.4-0ubuntu1_all.deb
2016-10-14 16:19
1156 查看
libreoffice conflicts with openoffice, once you install openoffice on your computer, you may uninstall it using:
However, when you install other software need libreoffice-common…deb package, you can not install it successfully.
you need
to purge the conflicts and then
to install your dependence.
sudo apt reomve *openoffice*
However, when you install other software need libreoffice-common…deb package, you can not install it successfully.
Preparing to unpack .../libreoffice-common_1%3a5.1.4-0ubuntu1_all.deb ... Unpacking libreoffice-common (1:5.1.4-0ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.1.4-0ubuntu1_all.deb (--unpack): trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.3-9783 rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory rmdir: failed to remove '/var/lib/libreoffice': No such file or directory rmdir: failed to remove '/var/lib/libreoffice': No such file or directory Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Errors were encountered while processing: /var/cache/apt/archives/libreoffice-common_1%3a5.1.4-0ubuntu1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
you need
sudo dpkg --remove openoffice-debian-menus
to purge the conflicts and then
sudo apt -f install
to install your dependence.
相关文章推荐
- dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.47-0ubuntu0.14.04.1_amd64.deb (--unpack):
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.7_i386.deb
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (--u
- dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb 解决方法
- 关于dpkg: error processing archive /var/cache/apt/archives/libpostproc52_6%3a0.git20120821-4_amd64.deb
- dpkg: error processing /var/cache/apt/archives/binutils-msp430_2.22~msp20110716p5-1_i386.deb
- Errors were encountered while processing: /var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb
- ubuntu16.04安装kde桌面出错: /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
- ubuntu下的/var/cache/apt/archives文件夹;用apt-get命令下载的deb软件包
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- SystemError: Failed to lock /var/cache/apt/archives/lock
- Ubuntu14.04.3,apt-get出现dpkg: error processing package xxx (--configure)和cups-daemon错误的解决方案
- dpkg: 处理归档 /var/cache/apt/archives/软件名 (--unpack)时出错
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archive
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archives/lock – open (11 资源临时不可用)
- Unpacking sysvutils (from .../sysvutils_2.86.ds1-14.1ubuntu45_i386.deb) ... dpkg: error processing /
- Ubuntu在apt-get 安装时出现dpkg: error processing package XXX的问题
- Ubuntu “无法获得锁”解决方案(E: 无法获得锁 /var/cache/apt/archive
- 在ubuntu主线版本下的/var/cache/apt/archives文件夹说明-系统清理