wpkg --print-avail | -p

Short Hand

wpkg -p

Options Comments
--admindir Define the administration directory, where the database of the installed packages resides.
--debug Define a set of flags of things to print out for debug purposes.
--instdir Define the installation directory, where the data files are installed on the target.
--quiet This is ignored for installed packages.
--root Define the installation root path.
--verbose This is ignored.

The --print-avail command prints the content of the control file of an installed package.

This is very similar to the --info command that prints out the control file information of a package file (a .deb package) without the package version and the statistics at the beginning of the output.

Note that in most cases this function works even when the package is not properly installed.

IMPORTANT NOTE

Note that wpkg implements this function using the same code as the --info command. This means all of those functions work with installed package names and .deb filenames. Note that there is no package version when a package is installed.