Check-Script: infofiles Author: Josip Rodin Abbrev: info Type: binary Unpack-Level: 2 Needs-Info: file-info Info: This script checks if a binary package conforms to info document policy. Tag: info-document-not-compressed Severity: important Certainty: certain Info: Info documents have to be installed compressed (using gzip -9). Ref: policy 12.2 Tag: info-document-not-compressed-with-gzip Severity: important Certainty: certain Info: Info documents should be compressed with gzip -9. Ref: policy 12.2 Tag: info-document-not-compressed-with-max-compression Severity: important Certainty: certain Info: Info documents should be compressed with gzip -9. Ref: policy 12.2 Tag: info-document-has-wrong-extension Severity: normal Certainty: certain Info: The info document has an extension other than info*.gz. Ref: policy 12.2 Tag: info-document-missing-dir-section Severity: normal Certainty: certain Info: This info document has no INFO-DIR-SECTION line and no --section option is passed to install-info in the package postinst maintainer script. install-info will be unable to determine the section into which this info page should be put. The best solution is to add a line like: . @dircategory Development . to the texinfo source so that the generated info file will contain a section. See /usr/share/info/dir for sections to choose from. . Another alternative that doesn't require modifying the source is to explicitly pass a --section option to install-info in the postinst maintainer script, although in this case you will need to write the postinst yourself and not use tools like debhelper to do it for you. Ref: policy 12.2 Tag: postrm-calls-install-info Severity: normal Certainty: certain Ref: policy 12.2 Info: The postrm script calls the install-info command. Usually, this command should be called from the prerm maintainer script. Tag: preinst-calls-install-info Severity: important Certainty: certain Ref: policy 12.2 Info: The preinst script calls the install-info command. Usually, this command should be called from the postinst maintainer script. Tag: install-info-not-called-with-quiet-option Severity: normal Certainty: certain Ref: policy 3.9 Info: The package installation scripts should avoid producing output which it is unnecessary for the user to see. Policy specifically mentions install-info output as unnecessary. Tag: info-documents-not-removed Severity: normal Certainty: certain Ref: policy 12.2 Info: The postinst script calls the install-info command, but the documents installed are not then removed by the prerm maintainer script.