Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to substitute the default LibreOffice by OpenOffice. To do so I followed the instructions on this link How do I install instead of LibreOffice?

After doing it I didn't get OpenOffice to open any of my .odf files and now I don't have neither LibreOffice nor OpenOffice functioning. So now what I want to do is to install again LibreOffice, but both from the software center and the terminal an error message appears saying (sorry because the messages are in Catalan and I dont know how to get them in English):

(on the software center)

Els paquets següents tenen dependències sense satisfer:

libreoffice: Depends: fonts-sil-gentium-basic però no s'instal·larà Depends: libreoffice-core (= 1:4.1.4~rc2-0ubuntu1~saucy1~ppa1) però 1:4.1.4~rc2-0ubuntu1~saucy1~ppa1 s'instal·larà Depends: fonts-dejavu però no s'instal·larà

(on the terminal)

joan@joan-VPCEA3S1E:~$ sudo apt-get install libreoffice
[sudo] password for joan: 
S'està llegint la llista de paquets… Fet 
S'està construint l'arbre de dependències       
S'està llegint la informació de l'estat… Fet
No s'han pogut instaŀlar alguns paquets. Això pot ser degut a que heu
demanat una situació impossible o que esteu emprant la distribució
«unstable» i alguns paquets requerits encara no han estat creats o bé
encara no els hi han introduït des d'«Incoming».
La informació següent pot ajudar-vos a resoldre la situació:

Els següents paquets tenen dependències sense satisfer:
 libreoffice : Depèn: fonts-sil-gentium-basic però no és instaŀlable
               Depèn: libreoffice-base però no serà instaŀlat
               Depèn: libreoffice-report-builder-bin però no serà instaŀlat
               Depèn: fonts-dejavu però no és instaŀlable
               Recomana: libreoffice-gnome però no serà instaŀlat o
                         libreoffice-kde però no serà instaŀlat
E: No es poden corregir els problemes, teniu paquets retinguts que estan trencats.

What can I do?

share|improve this question
Using sudo LANGUAGE=C command should give you messages in English (C locale). – Rmano Jan 9 '14 at 17:18
See if can help you – Rmano Jan 9 '14 at 17:21
up vote 1 down vote accepted

I'd recommend you to uninstall LibreOffice and OpenOffice using Synaptic, from where you have to remove completelly all the related files (config files), reboot and then install LibreOffice from scratch again. Synaptic will fetch all the necessary files asked by LibreOffice.

share|improve this answer
this worked! thank you! – Joan Jan 9 '14 at 18:55

You had already installed the LibreOffice PPA (note the 1:4.1.4~rc2-0ubuntu1~saucy1~ppa1 in your error message). You then followed instructions for removing the standard LibreOffice package without also removing the PPA. This may have been the source of the problems you later experienced.

Make sure that you have purged OpenOffice: sudo apt-get remove --purge <package_name>. The package name may be openoffice as a metapackage, but you may need to check the .deb files you used when installing OpenOffice for the correct package names.

Once that is done, sudo apt-get autoremove to remove any unneeded dependencies from OpenOffice.

The LibreOffice PPA looks like it is still in your sources list, so you can sudo apt-get update to rebuild the package lists so you get the packages needed by the PPA instead of the standard version of LibreOffice. If you need to reinstall the PPA, see theLibreOffice PPA for instructions on how to re-install it.

After that, you can install LibreOffice normally.

share|improve this answer

Then try:

sudo apt-get autoremove

sudo apt-get -f install libreoffice

The first command will remove unused packages, the second will install libreoffice with the packages it needs.

I hope it works for you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.