# # detect packages with miss a depends or use non-essential in purge # PATTERN='command not found|: not found' WHERE='fail bugged affected' ISSUE=0 HEADER='Packages with failed logs with the string "command not found"' HELPTEXT='

From the third paragraph about the meaning of the depends field in https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends

The Depends field should also be used if the postinst, prerm or postrm scripts
require the package to be present in order to run. __Note, however, that the
postrm cannot rely on any non-essential packages to be present during the
purge phase__.

NOTE: it has not been verified that this error really caused the package to fail the piuparts test, but it did fail.
There are also successful logs with "command not found" (though not listed below).

'