Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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!

share|improve this question
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
add comment

3 Answers 3

up vote 1 down vote accepted

Have you tried installing it this way?

I did it like that yesterday and it works perfectly!

share|improve this answer
    
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. –  nikercan 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 ;) –  nikercan Feb 9 '13 at 14:06
add comment

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.