DOKK / manpages / debian 12 / adequate / adequate.1.en
ADEQUATE(1) ADEQUATE(1)

adequate - Debian package quality testing tool

adequate checks packages installed on the system and reports bugs and policy violations.

Run checks against all the installed packages.
Emit only these tags.
Don't emit these tags.
Report issues via debconf(7).
Change the root directory (using chroot(2)).
Switch user and group before running any checks. This is most useful together with --root or --pending, which require superuser privileges.
Read APT configuration and .deb filenames from stdin, and append packages names to /var/lib/adequate/pending for later processing (see --pending).

This option is used internally by the APT hook. The hook is disabled by default; please edit /etc/apt/apt.conf.d/20adequate to enable it.

Run checks against packages listed in /var/lib/adequate/pending, then empty the file.
Display help and exit.

This package ships a binary in /bin or /sbin that requires a library in /usr/lib. This will make impossible to use this binary before /usr is mounted.
The detector registered with update-binfmts(8) does not exist.
The interpreter registered with update-binfmts(8) does not exist.
This package ships a symlink which points to a non-existent file.
Licenses of the libraries the binary is linked to are incompatible.
Running "ldd -r" on the file failed unexpectedly. This is most like a bug in libc or adequate itself.

References: <https://bugs.debian.org/710521>.

The binary is linked with a library, which cannot be found.

References: Debian Policy §8.6.

This package is a provider of the virtual package x-terminal-emulator, but it doesn't register itself as an alternative for /usr/bin/x-terminal-emulator; or it is a provider of the virtual package x-window-manager, but it doesn't register itself as an alternative for /usr/bin/x-window-manager.

References: Debian Policy §11.8.3, Debian Policy §11.8.4.

The copyright file for this package is missing. This often happens if /usr/share/doc/pkg/ was a real directory in a previous version of the package, but it's now a symlink; dpkg never replaces directory with a symlink to a directory.

References: Debian Policy §12.5, §6.6.

Dependency of a pkg-config (.pc) file shipped by this package couldn't be satisfied.

References: Debian Policy §8.4.

The binary uses versioned symbols, but the library provides only unversioned ones.
The current version of this package no longer ships a conffile (that used to be included in the past). However, the conffile hasn't been removed on upgrade.

References: <https://wiki.debian.org/DpkgConffileHandling>, dpkg-maintscript-helper(1).

This package ships a program with the same name as another program.

References: Debian Policy §10.1.

This package ships Python modules that are not byte-compiled.

References: Python Policy §2.6.

This package ships Python modules in /usr/share/pyshared that are not byte-compiled.

References: Python Policy §2.6, §1.5.

The symbol has changed size since the package was built. It might be an indication that the library broke ABI. If ABI wasn't broken, and the library bumped shlibs (or symbols), the package should be binNMUed.
The symbol has not been found in the libraries linked with the binary. Either the binary either needs to be linked with an additional shared library, or the dependency on the shared library package that provides this symbol is too weak.

References: Debian Policy §3.5, §8.6, §10.2.

Check the coreutils package.
Check all the packages for obsolete conffiles.
Check all the packages, ignoring Python bytecompilation issues.

If you report a bug that was found by adequate, please use the following usertags:

Please keep in mind that adequate is not perfect; therefore false positives are possible. Don't report the bug unless you understand the underlying problem. When in doubt, please ask at debian-qa@lists.debian.org first.

Debian Policy: /usr/share/doc/debian-policy/policy.txt.gz or <https://www.debian.org/doc/debian-policy/>

Python Policy: /usr/share/doc/python/python-policy.txt.gz or <https://www.debian.org/doc/packaging-manuals/python-policy/>

lintian(1), piuparts(1)

2015-07-15 adequate 0.15.9~deb12u1