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

How to remove broken packages using synaptic package manager i already isntalled it but after selecting status it is not showing broken packages options it is only showing installed, installed (manual) not installed.

share|improve this question

Broken packages that was not shown on synaptic are viewed and purged through the terminal,

If you want to view the broken packages,then run this command

dpkg -l | grep ^rc | awk '{ print $2 }'

If you want to remove the broken packages,then run this

sudo apt-get purge $(dpkg -l | grep ^rc | awk '{ print $2 }')
share|improve this answer
tried first command but it's not showing any broken packages :( – user85857 Jan 11 '14 at 15:23
then you have no broken packages. – Avinash Raj Jan 11 '14 at 15:24

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.