Scroll to navigation



lintian-brush - automatically fix lintian issues


lintian-brush [-h] [--no-update-changelog] [--version] [--list-fixers] [--list-tags] [--diff] [TAGS [TAGS ...]]


lintian-brush automatically applies a set of fixes for common lintian issues, adds the relevant changelog entries and commits the changes to the local version control system.

The tool's philosophy is to fix any issues for which it knows a correct fix, and to back off if it does not.

positional arguments:

Lintian tag for which to apply fixer.

optional arguments:

-h, --help
show this help message and exit
Whether to update the changelog.
show program's version number and exit
List available fixers.
List lintian tags for which fixers are available.
--fixers-dir DIRECTORY
Override the fixers directory.
After running all fixers, display the changes made as a single unified diff.
Use features that require packages that are not yet available in Debian stable.
Print the identity (name and e-mailaddress) that lintian-brush will use when committing changes, and exit.
Do not attempt to use the network to e.g. retrieve additional package metadata from hosting sites, or to check whether a homepage is also available over HTTPS.
Run fixers but do not actually make changes to the repository. Useful in particular in combination with --diff.
Note that this currently will create a temporary clone of the repository, which may be slow for large repositories.
Print list of fixers that was run and print tracebacks for failed fixers.
Make changes with lower certain than normal. This will potentially fix more issues, but is more likely to get things wrong. If changes with lower certainty were made, lintian-brush will let you know in its output.


$ lintian-brush --list-tags
List all lintian tags for which fixers are available.
$ lintian-brush
Run all fixers in the current Debian package.


lintian-brush.conf(5) apply-multiarch-hints(1) lintian(1)


Jelmer Vernooij <>
October 2018 lintian-brush 0.1