0

I am trying to remove OpenOffice and go back to LibreOffice but I keep getting this error message:

The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.0.2) but it is not going to be installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install with no packages (or specify a solution).

And then when try running apt-get -f install I get this:

Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a4.0.2-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
1
  • 2
    How do you try to uninstall it? Also, we need the complete error in apt-get -f install not just the end.
    – Braiam
    Sep 26, 2013 at 5:51

2 Answers 2

0

Try these commands in a terminal :

sudo dpkg -r libreoffice-common
sudo apt-get -f install  
sudo apt-get update
sudo apt-get upgrade  

SOURCE:Getting "'file' is different from the same file on the system" when I attempt to update through synaptic

0

Try this command...

sudo apt-get install libreoffice-common

if similar error comes but with different package then try to install that package first and then try libreoffice-common

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .