mpm orphans - List orphaned packages.
mpm orphans [OPTIONS] [QUERY]
List packages installed as dependencies that no package requires
anymore.
Each manager reports its orphans through its own native read-only
query (`pacman --query --deps --unrequired`, `brew autoremove --dry-run`,
`dnf repoquery --unneeded`, ...): `mpm` builds no dependency graph of its
own. Review the list here, then act on it with `mpm cleanup --orphans`.
With an optional `QUERY`, restrict the listing to orphaned
packages whose ID or name matches it. The match is fuzzy by default
(case-insensitive, tokenized); `--exact` requires a verbatim match on the
package ID or name.
- [QUERY]
- --exact /
--fuzzy
- With a QUERY, only keep packages whose ID or name matches it exactly,
instead of the default case-insensitive, tokenized (fuzzy) match. No
effect without a QUERY.
- --columns
COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
[values: package_id, package_name, manager_id, installed_version]
- --help /
-h
- Show this message and exit.
- ORPHANS_EXACT
- With a QUERY, only keep packages whose ID or name matches it exactly,
instead of the default case-insensitive, tokenized (fuzzy) match. No
effect without a QUERY.
- ORPHANS_COLUMNS
- Restrict and reorder table columns, SQL SELECT-style. Comma-separated list
of column IDs. Default: all columns in canonical order.
- ORPHANS__CLICK_DEFAULT_HELP
- Show this message and exit.
- 0
- Success.
- 1
- A runtime error, or an aborted prompt (Ctrl-C, a declined
confirmation).
- 2
- A usage error: unknown option, invalid value, missing operand, or an
unparsable configuration file.
List the packages nothing requires anymore
Ask one manager for its orphans