List packages by releases 

Newsgroups:  gmane.linux.debian.user
Date:        Sat, 11 Nov 2006 12:26:48 +0000
> Somehow I get a mixed system, mixed packages from testing/unstable are
> mingled in my system.
>
> Is there any way to list which packages are from unstable or testing?

'apt-show-versions' is what you want.

Liam O'Toole

dpkg:apt-show-versions 

Description: lists available package versions with distribution

apt-show-versions parses the dpkg status file and the APT lists for the installed and available package versions and distribution and shows upgrade options within the specific distribution of the selected package.

This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be upgraded in testing.

documented on: 2006.11.11