vrms is the tool for the job in Debian. It goes through all your packages and checks where they came from; if they came from a "contrib", "non-free", "restricted", or "multiverse" section, it lists them appropriately.

Reply via email to