ubuntu:apt:display_policy_of_a_package
Ubuntu - apt - Display policy of a package
Works just like apt-cache policy.
apt list -a [package name]
Example
apt list -a sudo
returns:
Listing... Done sudo/jammy-updates,jammy-security,now 1.9.9-1ubuntu2.4 amd64 [installed,automatic] sudo/jammy 1.9.9-1ubuntu2 amd64 sudo/jammy-updates,jammy-security 1.9.9-1ubuntu2.4 i386 sudo/jammy 1.9.9-1ubuntu2 i386
ubuntu/apt/display_policy_of_a_package.txt · Last modified: 2023/06/18 16:42 by peter