0

I need help with installing LibreOffice. I previously had it OK but an upgrade would not work as said 'unmet dependencies'. I have purged it and it is all gone. When I try to re install from software Centre I get the following error message:

Package dependencies cannot be resolved
libreoffice: Depends: libreoffice-core (= 1:5.1.6~rc2-0ubuntu1~xenial2) but 1:5.1.6~rc2-0ubuntu1~xenial2 is to be installed.

Any ideas on how to get the missing stuff please?

Videonauth
  • 33,815

1 Answers1

2

You can try

sudo apt-get -f install

-f stands to "fix broken". It will attempt to correct broken dependencies. After this run the following :

sudo dpkg --configure -a

Then again

sudo apt-get -f install

This generally works for most cases. For more details you can look at this question.