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)
Braiam
  • 67,791
  • 32
  • 179
  • 269
  • 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 '13 at 05:51

2 Answers2

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

M.Tarun
  • 5,001
  • 6
  • 33
  • 64
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

migrator
  • 151
  • 1
  • 1
  • 8