OS Manuals

/usr/bin/pkgcli

A D-BUS abstraction layer that allows the user to manage packages in a secure way using a cross-distro, cross-architecture API.

From packagekit 1.4.0-r2 (enterprise-packages), captured 2026-11-08 by running pkgcli --help (exit 0). permalink

Usage:
  pkgcli [OPTION…] COMMAND [OPTIONS...]

Options:
  -v, --version           Show pkgcli version
  -h, --help              Show help
  -q, --quiet             Only provide minimal output
  --verbose               Show more detailed output
  --json                  Output in JSON format
  --no-color              Disable colored output
  -y, --yes               Answer 'yes' to all questions
  -f, --filter=FILTER     Filter packages (installed, available, etc.)
  -n, --background        Run the command using idle network bandwidth and also using less power


Available Commands:
  backend                 Show backend information
  history                 Show transaction history
  search                  Search for packages
  list                    List packages
  show                    Show package information
  list-depends            List dependencies of the specified package(s)
  list-requiring          List other packages requiring the specified package(s)
  what-provides           List packages providing a capability
  files                   Show files in package
  list-updates            Get available updates
  show-update             Get update details
  resolve                 Resolve package names
  organization            List available filters and categories
  show-os-upgrade         Show available distribution upgrades
  last-time               Get time since last action
  refresh                 Refresh package metadata
  install                 Install packages
  remove                  Remove packages
  update                  Update packages
  upgrade                 Upgrade the system
  download                Download packages
  offline-update          Manage offline system updates
  install-sig             Install package signature
  repair                  Repair package system
  quit                    Safely stop the PackageKit daemon
  repo-list               List repositories
  repo-enable             Enable a repository
  repo-disable            Disable a repository
  repo-remove             Remove a repository
  monitor                 Monitor PackageKit bus events

Use 'pkgcli COMMAND --help' for command-specific help.
Options (9)
OptionDescriptionSource
-v, --versionShow the pkgcli version and exit.help + man
-h, --helpShow generic help and a list of available commands.help + man
-q, --quietOnly provide minimal output.help + man
--verboseShow more detailed and debug-style output.help + man
--jsonOutput results in JSON format suitable for consumption by other tools.help + man
--no-colorDisable colored terminal output.help + man
-y, --yesAnswer “yes” to all questions and run in non-interactive mode.help + man
-f, --filter FILTERApply one or more filters when querying packages, such as restricting results to installed or available packages.help + man
-n, --backgroundHint that the command is not urgent and may use idle network bandwidth and power-saving settings where supported.help + man
Exit status (6) from the manual page
0The command completed successfully.
1A non-specific error occurred.
2Invalid syntax or command-line options were supplied.
3Insufficient permissions to perform the requested operation.
4Required information or packages could not be found.
5The transaction failed.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.