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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1357952 Title: broken system due to libreoffice upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1357952/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs