wpkg --listfiles | -L

Short Hand

wpkg -L

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 Not used.
--root Define the installation root path.
--verbose Display the name of the package being worked on.

The --listfiles command lists the files of the packages listed on the command line. The list is composed of all the files appearing in the data.tar.gz archive (i.e. those that get installed with the --install command.) This command accepts the name of installed packages or .deb files although it is primarily expected to be used with installed packages (for .deb files, see the --contents command instead.)

wpkg --listfiles libc

The --verbose option can be used to get the name of the package before the list of files. Otherwise only one empty line is printed between each set of files. At this point wpkg does not give you the permissions of the actually installed files. We may add such a feature in wpkg at some point though.

wpkg --verbose --listfiles libc gcc

If you are looking to determine the package that owns a given file on your system, then look at the --search command instead.