Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have a problem with apt.

When I try to update or upgrade Ubuntu, I receive an error telling me that I have dependency problems, and I can't go on. I've tried to solve the problem with apt-get install -f, aptitude install -f, and using Synaptic, but I couldn't solve it.

When I try to run Synaptic, it tells me that I have broken packages, but if I try to delete them, it tells me that it will remove a lot of essential packages like mount and hostname. I think that it would be the end of my Ubuntu if I proceed.

share|improve this question

marked as duplicate by Warren Hill, guntbert, Eric Carvalho, Kevin Bowen, Jorge Castro Sep 20 '13 at 13:41

This question was marked as an exact duplicate of an existing question.

It would be easier to track down your problem if you provide the error you get (the output from the terminal). – Salem Sep 19 '13 at 9:23
Synaptic>Edit>Fix Broken Packages – arochester Sep 19 '13 at 9:42
...also...did you use sudo first? i.e. sudo apt-get install -f ... – arochester Sep 19 '13 at 9:51
this is my console output link, sorry is in Spanish – makeio Sep 19 '13 at 10:36

You could use synaptic package manager ( to get there via menue : system tools ---> system administration ).

Then log in with password. Then inside of synaptic make query for package which is broken. Remove it completely with right mouse-key and hook. Apply your choice.

When finish then make query again for same package-name. Install it with right mouse-key and hook. Apply your choice. Done.

(Sometimes it can happen that package-installation simply fails. Then it is somehow "broken".)

Hope this runs.


share|improve this answer

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