I uninstalled Libreoffice and installed Openoffice only To find out that I do not like OpenOffice any more. I uninstalled OpenOffice today and tried installing LibreOffice and I got errors.
The following packages have unmet dependencies: libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed libreoffice-help-en-us : Depends: libreoffice-l10n-en-us libreoffice-java-common : Depends: libreoffice-common but it is not installed libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed Depends: python-software-properties but it is not installed
So I tried to do
sudo apt-get -f install
and I get asked to install and I say yes this is the message.
$ sudo 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-crystal libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango The following NEW packages will be installed: libreoffice-common 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. 41 not fully installed or removed. Need to get 0 B/19.9 MB of archives. After this operation, 76.1 MB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 453874 files and directories currently installed.) Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ... Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack): trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764 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.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.54ubuntu1) ... Processing triggers for shared-mime-info (1.2-0ubuntu3) ... Processing triggers for man-db (188.8.131.52-1ubuntu1) ... Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ... Processing triggers for hicolor-icon-theme (0.13-1) ... Errors were encountered while processing: /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
I can no longer install anything or update my system.