I've already seen this question:
How to list all the packages which are installed from PPAs?
It only works for packages installed from PPAs where the PPA repository is still added to the system.
Is there a way to get the same kind of list but including all packages from all PPA repositories that are current added or have been added in the past?
Best Answer
You may search for installed obsolete packages, either locally installed or their source repository is disabled)
Also if you want both obsolete + ppa ones:
Reference: aptitude - Search term reference