My Libreoffice (on Ubuntu 14.04 LTS) is broken, so I tried to reinstall it.
Uninstall:
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove
And then install again:
sudo apt-get install libreoffice
But I got the following error messages (the wordings are not exact because I am not using the English version):
libreoffice : dependencies: libreoffice-base but it won't be installed
dependencies: libreoffice-calc but it won't be installed
dependencies: libreoffice-core (= 1:4.2.8-0ubuntu4) but it won't be installed
dependencies: libreoffice-draw but it won't be installed
dependencies: libreoffice-impress but it won't be installed
dependencies: libreoffice-math but it won't be installed
dependencies: libreoffice-report-builder-bin but it won't be installed
dependencies: libreoffice-writer but it won't be installed
dependencies: libreoffice-avmedia-backend-gstreamer but it won't be installed
dependencies: libreoffice-java-common (>= 1:4.2.8~) but it won't be installed
dependencies: python3-uno (>= 4.0~) but it won't be installed
Recommend: libreoffice-gnome but it won't be installed or
libreoffice-kde but it won't be installed
E: Unable to fix the problem, you have hold broken packages.
How do I reinstall Libreoffice?