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

  • apt-get --purge autoremove simple-ccsm -> dpkg-query -l simple-ccsm -> "rc simple-ccsm" – David Krider Jul 27 '11 at 12:47

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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