PACCHECK(1)

πŸ“¦ version 0.15.0, in arch rolling

🌸 PACCHECK(1) β€” paccheck β€” check installed packages 🌸

okay so bestie, this is the paccheck(1) page, and it's literally giving β€œlet me audit your installed packages” energy. πŸ’…

πŸŽ€ NAME πŸŽ€

paccheck β€” check installed packages. periodt.

✨ SYNOPSIS ✨

paccheck [options] [<package>]...
paccheck (--help|--version)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so paccheck checks installed packages. You can also feed it additional packages through stdin. If you don't provide any packages, it checks all installed packages. By default, only package dependencies and basic file information are checked β€” that's the default vibe. ✨

πŸ’– OPTIONS πŸ’–

Here's the full menu, no skips, no cap:

  • --config=path β€” Set an alternate configuration file path.
  • --dbpath=path β€” Set an alternate database path.
  • --root=path β€” Set an alternate installation root.
  • --sysroot=path β€” Set an alternate system root. See pacutils-sysroot(7).
  • --null[=sep] β€” Set an alternate separator for values parsed from stdin. By default a newline "\n" is used as the separator. If --null is used without specifying sep, NUL will be used.
  • --list-broken β€” Only print the names of packages that fail the selected checks.
  • --quiet β€” Only display messages if a problem is found.
  • --recursive β€” Recursively perform checks on packages' dependencies as well.
  • --depends β€” Check that all package dependencies are satisfied.
  • --opt-depends β€” Check that all package optional dependencies are satisfied.
  • --files β€” Check package files against the local database.
  • --file-properties β€” Check package files against MTREE data.
  • --md5sum β€” Check file md5sums against MTREE data.
  • --sha256sum β€” Check file sha256sums against MTREE data.
  • --require-mtree β€” Treat missing MTREE data as an error for --db-files and/or --file-properties.
  • --db-files β€” Include database files in --files and --file-properties checks. --files will test for the existence of desc, files, and mtree (with --require-mtree) files in the package database entry. --file-properties will check install and changelog files in the package database where applicable.
  • --backup β€” Include backup files in file modification checks.
  • --noextract β€” Include NoExtract files in file modification checks.
  • --noupgrade β€” Include NoUpgrade files in file modification checks.
  • --help β€” Display usage information and exit.
  • --version β€” Display version information and exit.

πŸ’€ CAVEATS πŸ’€

Okay bestie, important plot twist: paccheck decides whether or not to read packages from stdin based on a naive check using isatty(3). If paccheck is called in an environment β€” such as a shell function or script being used in a pipe β€” where stdin is not connected to a terminal but does not contain packages to check, paccheck should be called with stdin closed. For POSIX-compatible shells, this can be done with <&-.


mwah πŸ’‹ this page ships with pacutils, dated 2025-12-04 β€” bye bestie, go check those packages 🫢

πŸ“¦ where this page comes from