Packager Validations

When using wpkg to create a package, install a package, or remove a package, wpkg first runs a battery of validation on the data. If any validation fails, then the process stops  before performing the actual task (most of the validations are performed beforehand.)

The build process makes sure that the control file is valid and that there is data to be added to the output package.

The installation process verifies the target machine state, checks that the packages to be installed are compatible with the target, and then installs the package.

The removal process ensures that removing the package doesn't break the existing installation graph.

The following are details about each one of these processes and what can be done to fix a problem or another.