Use Debian Metadata Validation

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To ensure that malformed packages do not corrupt Debian repositories, Artifactory first validates parts of the Debian metadata to make sure that none of the relevant metadata fields are empty. If the validation process indicates a malformed package, Artifactory provides several indications:

  • The package is not indexed

  • The package is annotated with the following property:

    • Key: deb.index.status

    • Value: The reason the package failed the validation process

  • If the package is selected in the Tree Browser, the Debian Info tab will display a message indicating that it was not indexed and why it failed the validation process

Note

Artifactory logs a message explaining why a package was not indexed, including details about the validation failure.

Disable validation

Debian package validation is controlled by the debian.metadata.validation system property . Package validation is enabled by default. To disable Debian package validationArtifactory System Properties

set:debian.metadata.validation=false

Finding malformed packages

To easily find all malformed packages in your Debian repositories, you can use Property Search or run an AQL query with Property Criteria on the deb.index.status property described above.Property Search