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.

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

1 Answer 1

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 at 15:23
    
then you have no broken packages. –  Avinash Raj Jan 11 at 15:24

Your Answer

 
discard

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.