wpkg --verify

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 Request for minimal output. For the --verify function this is the default behavior.
--root Define the installation root path.
--verify-fields Verify fields found in the control file against C-like expressions.
--verbose Display log information of level INFO.

The --verify command is used to verify the validity of a Debian package created with wpkg.

Internally, this is similar to the --info without any output (i.e. --quiet,) although it additionally verifies that the md5sums of the files in the data.tar.gz tarball are valid and can check for field validity wit the --verify-fields option.

Because the --verify command decompresses the package, it requires a valid database location to work properly (i.e --admindir).

You may also want to check out the --print-avail command line option.

The --verify-fields option accepts one or more expressions that are expected to return 0 or 1. If 1, the validation is accepted and the --verify command line option returns with zero (0). Otherwise the validation fails and the command exits with one (1). Note that when multiple --verify-fields are used, all must succeed (return 1) for the verification to be successful.

To verify an installed package, use the --audit command instead.

Syndicate content