2

I tried to upgrade my LibreOffice to 4.0 on my Ubuntu 12.04, but now it doesn't work anymore. If I try to install LibreOffice again, I get the following output:

The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-core (= 1:3.6.0~rc4-0ubuntu3~ppa1~precise1) but it is not going to be installed
           Depends: libreoffice-writer but it is not going to be installed
           Depends: libreoffice-calc but it is not going to be installed
           Depends: libreoffice-impress but it is not going to be installed
           Depends: libreoffice-draw but it is not going to be installed
           Depends: libreoffice-math but it is not going to be installed
           Depends: libreoffice-base but it is not going to be installed
libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.0~rc4-0ubuntu3~ppa1~precise1) but it is not going to be installed
                 Depends: libreoffice-gtk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Would be so great, if anybody could help me!

Thanks!

  • 1
    Can you provide some details on how you tried to install LO4? We need to know the commands you used and what guide you followed. Thanks! – Seth Feb 8 '13 at 17:35
  • 'sudo apt-get install libreoffice' is what I tried, then I got the code I postet! I don't need libreOffice 4.0, I just want any LibreOffice back on my PC.. :( – Meike Eszeha Feb 9 '13 at 11:13
1

Have you tried installing it this way?

I did it like that yesterday and it works perfectly!

  • This is what happens dpkg: error processing /path/to/libreoffice/DEBS/*.deb (--install): cannot access archive: No such file or directory Errors were encountered while processing: /path/to/libreoffice/DEBS/*.deb – Meike Eszeha Feb 9 '13 at 11:30
  • Please read the command in the tutorial carefully! /path/to/libreoffice/DEBS/*.deb has to be repleased by YOUR path where you downloaded libreoffice. – st3fUn Feb 9 '13 at 11:34
  • oh, stupid, my fault.. ;) It works, thousand thanks! – Meike Eszeha Feb 9 '13 at 13:49
  • You're welcome. Don't worry, we all made those mistakes at the beginning ;) – st3fUn Feb 9 '13 at 14:06
1

I was able to force Ubuntu to upgrade to version 4.0 by typing the following in a terminal (press enter after each line).

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get dist-upgrade

If you don't have LibreOffice installed for whatever reason, then instead of the last line, type this.

sudo apt-get install libreoffice

0

You can try this question to upgrade to LibreOffice4.0.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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