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 from Lucid to Maverick, and as expected, all my PPAs were disabled. I have re-enabled most of the ones that I want, but I would like to get a list of all packages that I installed from PPAs that I no longer have enabled. I feel that the best way to do this would be to search for all packages where the currently installed version of that package does not match any version from a currently-enabled repository. Is there an easy way to search for such packages.

Command-line solutions welcome.

share|improve this question
up vote 6 down vote accepted

Try aptitude search ~o or longer version aptitude search ?obsolete. From documentation, it "match installed packages that cannot be downloaded".

share|improve this answer
This will also show things you download manually as .deb files, things that you build and package yourself and things that are no longer in a repository... But it should give you a rough idea. – Oli Jan 7 '11 at 15:34
Cool. I realize that manually-downloaded debs and suchlike will also appear, but if I manually installed it, I can manually sift through it, so that's not a problem. – Ryan Thompson Jan 7 '11 at 16:02

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.