Man page - package-cleanup(1)
Packages contas this manual
- repo-graph(1)
- yum-groups-manager(1)
- dnf4-expired-pgp-keys(8)
- yum-config-manager(1)
- dnf4-repoclosure(8)
- dnf4-post-transaction-actions(8)
- dnf4-system-upgrade(8)
- dnf4-debuginfo-install(8)
- yum-utils(1)
- yum-debug-restore(1)
- dnf4-builddep(8)
- yum-builddep(1)
- dnf4-modulesync(8)
- yum-copr(8)
- dnf4-pre-transaction-actions(8)
- dnf4-changelog(8)
- repodiff(1)
- dnf4-versionlock(8)
- dnf4-generate_completion_cache(8)
- dnf4-reposync(8)
- dnf4-repomanage(8)
- dnf-utils(1)
- dnf4-show-leaves(8)
- yum-versionlock.conf(5)
- dnf4-config-manager(8)
- yum-changelog(1)
- yumdownloader(1)
- dnf4-download(8)
- yum-versionlock(8)
- dnf4-needs-restarting(8)
- yum-debug-dump(1)
- dnf4-groups-manager(8)
- reposync(1)
- dnf4-repograph(8)
- dnf4-copr(8)
- repoclosure(1)
- repomanage(1)
- package-cleanup(1)
- dnf4-debug(8)
- dnf4-local(8)
- dnf4-repodiff(8)
- dnf4-leaves(8)
- debuginfo-install(1)
Package: dnf-plugins-core
apt-get install dnf-plugins-core
apt-get install dnf-plugins-core
Manuals in package:
Documentations in package:
Available languages:
en fr ro deManual
| PACKAGE-CLEANUP(1) | dnf-plugins-core | PACKAGE-CLEANUP(1) |
NAME
package-cleanup - clean up locally installed, duplicate, or orphaned packages.
A DNF-based shim imitating the original YUM-based package-cleanup utility.
SYNOPSIS
package-cleanup [options]
OPTIONS
All general DNF options are accepted, see Options in dnf(8) for details.
- --leaves
- List leaf nodes in the local RPM database. Leaf nodes are RPMs that are not relied upon by any other RPM. Maps to dnf repoquery --unneeded.
- --orphans
- List installed packages which are not available from currently configured repositories. Maps to dnf repoquery --extras.
- --problems
- List dependency problems in the local RPM database. Maps to dnf repoquery --unsatisfied.
- --dupes
- Scan for duplicates in the local RPM database. Maps to dnf repoquery --duplicates.
- --cleandupes
- Scan for duplicates in the local RPM database and clean out the older versions. Maps to dnf remove --duplicates.
EXAMPLES
- package-cleanup --problems
- List all dependency problems.
- package-cleanup --orphans
- List all packages that are not in any DNF repository.
- package-cleanup --cleandupes
- Remove all packages that have a duplicate installed.
AUTHOR
See AUTHORS in your Core DNF Plugins distribution
COPYRIGHT
2014, Red Hat, Licensed under GPLv2+
| June 20, 2025 | 4.10.1 |