apt-installed-status(1) manual page
apt-installed-status − get the repository an installed package comes from
apt-installed-status [ OPTION ... ]
apt-installed-status determines for installed packages from which apt repository they come.
If you use a lot of repositories, it is not always clear which package you installed from which repository. This tool helps you determine that. It can also show you which packages are not in any of your current apt repositories.
To determine which repository a package is from, the package name, its version and its architecture are examined.
This tool will only work properly if you have installed all pending updates ( apt-get dist-upgrade should show no pending packages).
Without options, a list of all installed packages is displayed with the archives they are found in.
Show the current version and quit
Show the help text and quit
Show all orphans: those packages that are not found in any of the current apt archives. Note that matching will be done on package name, version number and architecture: if you have pending package updates waiting, packages may be designed as orphans because the exact version is not found anymore.
Show all packages that are only in these archives. Archives should be complete names (as shown by calling this tool without arguments) and should be separated by commas.
Show all packages that are only in archives matching the perl regular expression specified.
Show all packages that are not found in any of these archives. Archives should be complete names (as shown by calling this tool without arguments) and should be separated by commas.
Show all packages that are not found in any of the archives matching the perl regular expression specified.
Used with the -a, -A, -x or −X arguments: display the archives in which this package is found too.
Used without other arguments or with the -a, -A, -x or −X arguments: display the (selected) archives, instead of packages.
Depending on the options chosen, output will be three or four tab-separated fields. The first column is the package name, the second column the architecture, the third column the version number and the optional fourth column a list of apt archives this package was found in, separated by commas.
List all installed packages and the archives the package is found in.
List all installed packages which are not found in any archive, or whose current version is not found.
apt-installed-status −X wheezy
List all packages whose current installed version is not found in Wheezy.
apt-installed-status −l −A non-free
List all packages which are non-free, including the repository they are installed from.
apt-installed-status −L −A non-free
Do not list the packages which are non-free, but the repositories that are selected (contain the string non-free).
No known bugs.
Frodo Looijaard (firstname.lastname@example.org)