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.

Possible Duplicate:
Fixing Broken Packages
How to install Libreoffice 3.5.4 in Ubuntu 12.04?

What is wrong with Ubuntu repositories?

sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 1:3.5.4-0ubuntu1.1) 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
               Depends: libreoffice-filter-mobiledev but it is not going to be installed
               Depends: libreoffice-java-common (>= 1:3.5.4~) but it is not going to be installed
               Recommends: libreoffice-gnome but it is not going to be installed or
                           libreoffice-kde but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Solution is to force version of the package libexttextcat-data to 3.2.0-1ubuntu1 (not to 3.3.1-2~precise1 by default). When I tried to upgrade on version 3.3.1-2~precise1 whole libreoffice is marked to remove.

share|improve this question
    
Do you have any PPAs added to your system? As LibreOffice is installed by default, you must have removed it at some point. –  Cumulus007 Sep 3 '12 at 8:49
    
when I removed all PPAs, the problem still persist –  michal Sep 3 '12 at 8:55
    
Did u run 'sudo apt-get update' after? –  blade19899 Sep 3 '12 at 8:59
    
    
I asked if there were any PPAs installed on the system. Did you just disabled the PPAs from "Software properties" (this doesn't do anything to your installed packages), or did you use ppa-purge? –  Cumulus007 Sep 3 '12 at 11:48
show 2 more comments

marked as duplicate by Jacob Johan Edwards, Mitch, fossfreedom Sep 4 '12 at 11:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Go to synaptic package manager (download it if you don't already have it). Try and see if you have any packages installed mentioned in your post (use filter) and then go to the menu select Edit > Fix broken packages.

Alternatively, if you have recently installed Ubuntu using Wubi, I noticed the other day that Quantal Quetzal beta or alpha is currently being used. This is not stable and I had a lot of "broken packages". If that's the case, I don't have the skills to help you further. You'll probably need an alternative arrangement e.g.: - dual boot (caveat: do your homework extensively before attempting this); - installing Ubuntu in VirtualBox or VMware.

share|improve this answer
    
OK ... no packages mentioned in the attached output are not installed. So there is nothing to be fixed. –  michal Sep 3 '12 at 9:11
    
This is a great tutorial on Youtube about dual-booting. youtube.com/watch?v=3HANcetKsqc If you follow his instructions to the letter (don't pick "install alongside Windows") , everything will go swimmingly. –  Simon Hoare Sep 3 '12 at 9:14
    
How to download synaptic when having a broken package?! –  user61928 Oct 2 '12 at 12:04
add comment

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