did you do this first?
Code: Select all
sudo apt-get remove --purge libreoffice*
I have tried many terminal commands, and still end up here:
The following packages will be REMOVED:
libreoffice-base libreoffice-calc* libreoffice-common* libreoffice-core*
libreoffice-draw* libreoffice-impress* libreoffice-math* libreoffice-writer*
0 upgraded, 0 newly installed, 8 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 6,595 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 273242 files and directories currently installed.)
Removing libreoffice-base (1:4.3.0-0ubuntu1~trusty1) ...
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: 28: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi")
dpkg: error processing package libreoffice-base (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $