Comment 64 for bug 915271

Revision history for this message
Jacob Brasher (jakeeasdfghjkl) wrote :

When I had installed this in Ubuntu Software Center, the package had corrupted and it will keep trying to remove it. And in this is what I get, and whenever I try to remove anything it says it does not exist.
root@Jake:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libreoffice-common
Suggested packages:
  libreoffice-style-hicontrast libreoffice-style-crystal
  libreoffice-style-oxygen
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
20 not fully installed or removed.
Need to get 0 B/21.0 MB of archives.
After this operation, 52.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 131687 files and directories currently installed.)
Unpacking libreoffice-common (from .../libreoffice-common_1%3a3.5.7-0ubuntu5_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libreoffice-common_1%3a3.5.7-0ubuntu5_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.0-9714
rmdir: failed to remove `/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice/share/': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
rmdir: failed to remove `/var/lib/libreoffice': Directory not empty
Processing triggers for shared-mime-info ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gnome-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a3.5.7-0ubuntu5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)