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

I was browsing some questions here to find a solution to locating and removing broken packages. Being a relative novice I installed some PPAs designed for 11.10 on my 12.04 LTS machine. In terminal it suggested I try apt-get -f install which brought me to this question A big lesson learned for me, if anyone can help

share|improve this question
up vote 5 down vote accepted

Synaptic Package Manager (available in the Software Center) is a graphical tool for managing packages, and among many features it allows you to filter packages by their state. In few clicks, by selecting the desired category on the left panel, you will be presented with the list of packages that require fixing.

share|improve this answer
  • Install the Synaptic Package Manager, either through the Software Center or by running this command in the Terminal:

     sudo apt-get install synaptic 
  • Open it by typing synaptic in the Unity dash and then hitting Enter.

  • Then follow this procedure:

    1. Select the "Status" Catagory. This shows packages organized by status.
    2. Select "Broken dependencies" catagory from upper left pane.
    3. Select the broken packages. If the packages are more than one, select them all by pressing Ctrl+A.
    4. Then right-click on a selected package, and select the option "Mark for Complete Removal" in the menu.

    Screenshot showing "Mark for complete removal" on packages with broken dependencies

That's it. The broken packages are gone.

share|improve this answer

Try this:

sudo apt-get clean
sudo apt-get update

Hope that helps.


share|improve this answer

To clean up the packages you've installed from ppa, you should use ppa-purge, assumed the ppa is ppa:xorg-edger/ppa

  1. sudo apt-get install ppa-purge
  2. sudo apt-get update
  3. sudo ppa-purge ppa:xorg-edger/ppa
  4. it will prompt you a list of packages to remove and/or downgrade, if nothing look suspicious, answer Y and wait
  5. if you are lucky, it should finish with out error, else you'll need to do a sudo apt-get install -f

If after step 5 you still have errors, come back and update your question.

Good luck.

share|improve this answer
E: Unable to locate package ppa-purge – stiv Jun 3 '15 at 0:08
I will second that.. ppa-purge does not exist. – jdrefahl Aug 4 '15 at 20:13

Your Answer


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.