apt-installed-status is a Debian tool that 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).
# List all installed packages and the repository the installed version is found in
# List all repositories with the string `non-free' in it
apt-installed-status -L -A non-free
# List all installed packages that are from a repository with the string `non-free' in it.
# List the repository each package is found in too.
apt-installed-status -l -A non-free
# List all installed packages that are not from a repository with the string `wheezy' in it.
apt-installed-status -X wheezy
Debian packages and CVS
Debian packages can be found at the Debian download page.
A browsable Subversion tree can be found at the ViewVC server.
The Subversion archive can be accessed through the following SVN URI:
The following documentation is available online:
- The manual page of apt-installed-status(1)
apt-installed-status(1) is used to query which repository packages were installed from