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.

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

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.

  • 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 – user4815 Sep 19 '13 at 9:42
  • ...also...did you use sudo first? i.e. sudo apt-get install -f ... – user4815 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.


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