Unfortunately, this also is not helping. I got the same results as Josir, but attempts to use "sudo dpkg -r $PACKAGE" failed. I then used "apt-get remove libreoffice*", which did remove all libreoffice* stuff except libreoffice-base. Removing that is not possible, neither with apt-get nor with dpkg:
# apt-get remove libreoffice-base ... Removing libreoffice-base ... No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed. No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed. /var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi") dpkg: error processing libreoffice-base (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: libreoffice-base E: Sub-process /usr/bin/dpkg returned an error code (1) # dpkg -r libreoffice-base (Reading database ... 225857 files and directories currently installed.) Removing libreoffice-base ... No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed. No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed. /var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi") dpkg: error processing libreoffice-base (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: libreoffice-base Even worse, I now can't install anything, because apt-get (and synaptic) insist on first removing libreoffice-base. This fails, the apt-get exits, and nothing new is installed, e.g.: # apt-get install htop Reading package lists... Done Building dependency tree Reading state information... Done htop is already the newest version. The following packages will be REMOVED: libreoffice-base 0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded. 1 not fully installed or removed. After this operation, 7.234 kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 225857 files and directories currently installed.) Removing libreoffice-base ... No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed. No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed. /var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi") dpkg: error processing libreoffice-base (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: libreoffice-base E: Sub-process /usr/bin/dpkg returned an error code (1) Trying under Synaptic to unmark libreoffice-base has no effect, it remains "marked for removal". Since this removal is then attempted first by synaptic/apt-get, and fails at it, nothing else can be done. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1357952 Title: broken system due to libreoffice upgrade Status in “libreoffice” package in Ubuntu: Fix Released Bug description: The update of libreoffice from ~2 days ago (~ Aug 15, 2014) resultet in several unmet dependencies. Running 'apt-get -f install' does NOT correct the problem. Now the Ubuntu Software Center won't let me install new software (via apt-get still possible). This is wgat happens after 'apt-get update' followed by 'apt-get -f install' was run: ~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: libreoffice-base : Depends: libreoffice-base-core (= 1:4.3.0-0ubuntu1~precise1) but 1:4.3.0-3ubuntu1~precise1 is installed Depends: libreoffice-base-drivers (= 1:4.3.0-0ubuntu1~precise1) but 1:4.3.0-3ubuntu1~precise1 is installed Depends: libreoffice-core (= 1:4.3.0-0ubuntu1~precise1) but 1:4.3.0-3ubuntu1~precise1 is installed libreoffice-core : Breaks: libreoffice-base (< 1:4.3.0-3ubuntu1~precise1) but 1:4.3.0-0ubuntu1~precise1 is installed E: Unmet dependencies. Try using -f. I use the ppa: http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main; my system is precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1357952/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp