Compare installed and available package versions
check installed package version debian | which repository does a package come from | apt-cache policy explained | why does apt install the wrong version | apt-cache | packages | versionsapt-cache policy nginxPrints the installed version (Installed), the installation candidate (Candidate) and the version table with all sources and their priorities for a package. This shows whether an update is pending and which repository it would come from. Especially useful when several sources offer the same package, such as Debian and a vendor repository.
Note: Without a package name, apt-cache policy shows the priorities of all configured sources.
Also searched as
- check installed package version debian
- which repository does a package come from
- apt-cache policy explained
- why does apt install the wrong version