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 just upgraded a computer from 10.10 to 11.04 using the do-release-upgrade command. (This was the first time I've actually done an upgrade.) I had a few PPA's in my setup, which got removed from my configuration during the upgrade. I've gone back and re-added those PPA's (like Thunderbird stable and Flash 11), and updated and upgraded. Now when I look in Synaptic, I see a lot of "orphaned" (?) packages in the "Local" origin. I can "Mark for Complete Removal" on those packages, but then I can't "Apply" those changes. What's going on here? Is it possible to clean these out to make the system "clean?"

Local Origin in Synaptic

share|improve this question
apt-get --purge autoremove simple-ccsm -> dpkg-query -l simple-ccsm -> "rc simple-ccsm" – David Krider Jul 27 '11 at 12:47
up vote 2 down vote accepted

OK, this seems to be the answer:

aptitude -F %p search '~c' | xargs dpkg -P

I tried putting something together just like this, but based on deborphan, and I might have left my system in a partially borked state. I'll start another question on that.

share|improve this answer
shorten this to sudo aptitude purge ~c – enzotib Jul 27 '11 at 13:34

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.