1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501
|
.nh
.TH ADEQUATE 1
.SH NAME
.PP
adequate - Debian package quality testing tool
.SH SYNOPSIS
.PP
\fBadequate\fP [\fIoptions\fP] \fIpackage-name\fP\&...
.PP
\fBadequate\fP [\fIoptions\fP] --all
.PP
\fBadequate\fP [\fIoptions\fP] --apt-preinst
.PP
\fBadequate\fP [\fIoptions\fP] --pending
.PP
\fBadequate\fP --list-tags
.PP
\fBadequate\fP --help
.SH DESCRIPTION
.PP
\fBadequate\fP checks packages installed on the system and reports bugs and policy
violations.
.SH OPTIONS
.PP
\fB--all\fP
.PP
.RS
.PP
Run checks against all the installed packages.
.RE
.PP
\fB--tags\fP \fItag1\fP[,\fItag2\fP\&...]
.PP
.RS
.PP
Emit only these tags.
.RE
.PP
\fB--tags\fP -\fItag1\fP[,\fItag2\fP\&...]
.PP
.RS
.PP
Don't emit these tags.
.RE
.PP
\fB--debconf\fP
.PP
.RS
.PP
Report issues via \fBdebconf\fP(7).
.RE
.PP
\fB--fail\fP
.PP
.RS
.PP
Exit with status 2 if at least one tag was emitted
.RE
.PP
\fB--root\fP \fIdirectory\fP
.PP
.RS
.PP
Change the root directory (using \fBchroot\fP(2)).
.RE
.PP
\fB--user\fP \fIuser\fP[:\fIgroup\fP]
.PP
.RS
.PP
Switch user and group before running any checks. This is most useful together
with \fB--root\fP or \fB--pending\fP which require superuser privileges.
.RE
.PP
\fB--apt-preinst\fP
.PP
.RS
.PP
Read APT configuration and \fI\&.deb\fP filenames from stdin, and append packages
names to \fI/var/lib/adequate/pending\fP for later processing (see \fB--pending\fP).
.PP
This option is used internally by the APT hook. The hook is disabled by
default; please edit \fI/apt/apt.conf.d/20adequate\fP to enable it.
.RE
.PP
\fB--pending\fP
.PP
.RS
.PP
Run checks against packages listed in \fI/var/lib/adequate/pending\fP, then empty
the file.
.RE
.PP
\fB--list-tags\fP
.PP
.RS
.PP
List all tag names and exit.
.RE
.PP
\fB--help\fP
.PP
.RS
.PP
Display help and exit.
.RE
.SH TAGS
.PP
\fBbin-or-sbin-binary-requires-usr-lib-library\fP
.PP
.RS
.PP
This package ships a binary in /bin or /sbin that requires a library in /usr/lib. Obsolete as of https://wiki.debian.org/UsrMerge
.RE
.PP
\fBbroken-binfmt-detector\fP
.PP
.RS
.PP
The detector registered with update-binfmts(8) does not exist.
.RE
.PP
\fBbroken-binfmt-interpreter\fP
.PP
.RS
.PP
The interpreter registered with update-binfmts(8) does not exist.
.RE
.PP
\fBbroken-symlink\fP
.PP
.RS
.PP
This package ships a symlink which points to a non-existent file.
.RE
.PP
\fBincompatible-licenses\fP
.PP
.RS
.PP
Licenses of the libraries the binary is linked to are incompatible. Obsolete as of adequate version 0.16.19
.RE
.PP
\fBinvalid-dbus-user-or-group\fP
.PP
.RS
.PP
A D-Bus configuration file specifies an invalid user or group.
.RE
.PP
\fBinvalid-systemd-user-or-group\fP
.PP
.RS
.PP
A systemd service unit script specifies an invalid user or group.
.RE
.PP
\fBinvalid-sysvinit-user-or-group\fP
.PP
.RS
.PP
A sysvinit script specifies an invalid user or group.
.RE
.PP
\fBldd-failure\fP
.PP
.RS
.PP
Running "\fB\fCldd -r\fR" on the file failed unexpectedly. This is most likely a bug in libc or adequate itself.
.PP
https://bugs.debian.org/710521
.RE
.PP
\fBlibrary-not-found\fP
.PP
.RS
.PP
The binary is linked with a library, which cannot be found.
.PP
Debian Policy §8.6
.RE
.PP
\fBmissing-alternative\fP
.PP
.RS
.PP
This package is a provider of the virtual package \fB\fCx-terminal-emulator\fR, but it doesn't register itself as an alternative for \fB\fC/usr/bin/x-terminal-emulator\fR; or it is a provider of the virtual package \fB\fCx-window-manager\fR, but it doesn't register itself as an alternative for \fB\fC/usr/bin/x-window-manager\fR\&.
.PP
Debian Policy §11.8.3, Debian Policy §11.8.4
.RE
.PP
\fBmissing-copyright-file\fP
.PP
.RS
.PP
The copyright file for this package is missing. This often happens if /usr/share/doc// 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.
.PP
Debian Policy §12.5, §6.6
.RE
.PP
\fBmissing-pkgconfig-dependency\fP
.PP
.RS
.PP
Dependency of a pkg-config (.pc) file shipped by this package couldn't be satisfied.
.PP
Debian Policy §8.4
.RE
.PP
\fBmissing-symbol-version-information\fP
.PP
.RS
.PP
The binary uses versioned symbols, but the library provides only unversioned ones.
.RE
.PP
\fBobsolete-conffile\fP
.PP
.RS
.PP
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.
.PP
https://wiki.debian.org/DpkgConffileHandling, dpkg-maintscript-helper(1)
.RE
.PP
\fBprogram-name-collision\fP
.PP
.RS
.PP
This package ships a program with the same name as another program.
.PP
Debian Policy §10.1
.RE
.PP
\fBpy-file-not-bytecompiled\fP
.PP
.RS
.PP
This package ships Python modules that are not byte-compiled.
.PP
Python Policy §2.6
.RE
.PP
\fBpyshared-file-not-bytecompiled\fP
.PP
.RS
.PP
This package ships Python modules in /usr/share/pyshared that are not byte-compiled.
.PP
Python Policy §2.6, §1.5
.RE
.PP
\fBsymbol-size-mismatch\fP
.PP
.RS
.PP
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.
.RE
.PP
\fBundefined-symbol\fP
.PP
.RS
.PP
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.
.PP
Debian Policy §3.5, §8.6, §10.2
.RE
.SH EXAMPLES
.PP
\fBadequate coreutils\fP
.PP
.RS
.PP
Check the \fBcoreutils\fP package.
.RE
.PP
\fBadequate --tags obsolete-conffile --all\fP
.PP
.RS
.PP
Check all the packages for obsolete conffiles.
.RE
.PP
\fBadequate --tags -py-file-not-bytecompiled,pyshared-file-not-bytecompiled --all\fP
.PP
.RS
.PP
Check all the packages, ignoring Python bytecompilation issues.
.RE
.SH EXIT STATUS
.PP
.RS
.PP
0 if no tags were emitted or --fail was not set
.PP
1 on invalid invocation
.PP
2 if at least one tag was emitted and --fail was set
.RE
.SH REPORTING BUGS
.PP
If you report a bug that was found by adequate, please use the following usertags:
.PP
.RS
.PP
User: debian-qa@lists.debian.org
.PP
Usertags: adequate \fItag-name\fP
.RE
.PP
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 \fIdebian-qa@lists.debian.org\fP first.
.SH SEE ALSO
.PP
Debian Policy:
\fI/usr/share/doc/debian-policy/policy.txt.gz\fP
or \fIhttps://www.debian.org/doc/debian-policy/\fP
.PP
Python Policy:
\fI/usr/share/doc/python/python-policy.txt.gz\fP
or \fIhttps://www.debian.org/doc/packaging-manuals/python-policy/\fP
.PP
\fBlintian\fP(1), \fBpiuparts\fP(1)
|