1PACKAGE-CLEANUP(1)             dnf-plugins-core             PACKAGE-CLEANUP(1)
2
3
4

NAME

6       package-cleanup  -  clean  up locally installed, duplicate, or orphaned
7       packages.
8
9       A DNF-based shim imitating the original YUM-based package-cleanup util‐
10       ity.
11

SYNOPSIS

13       package-cleanup [options]
14

OPTIONS

16       --leaves
17              List  leaf nodes in the local RPM database.  Leaf nodes are RPMs
18              that are not relied upon by any other RPM.  Maps  to  dnf  repo‐
19              query --unneeded.
20
21       --orphans
22              List  installed  packages which are not available from currently
23              configured repositories.  Maps to dnf repoquery --extras.
24
25       --problems
26              List dependency problems in the local RPM database.  Maps to dnf
27              repoquery --unsatisfied.
28
29       --dupes
30              Scan  for  duplicates  in  the  local RPM database.  Maps to dnf
31              repoquery --duplicates.
32
33       --cleandupes
34              Scan for duplicates in the local RPM database and clean out  the
35              older versions.  Maps to dnf remove --duplicates.
36

EXAMPLES

38       package-cleanup --problems
39              List all dependency problems.
40
41       package-cleanup --orphans
42              List all packages that are not in any DNF repository.
43
44       package-cleanup --cleandupes
45              Remove all packages that have a duplicate installed.
46

AUTHOR

48       See AUTHORS in your Core DNF Plugins distribution
49
51       2014, Red Hat, Licensed under GPLv2+
52
53
54
55
564.0.7                            May 21, 2019               PACKAGE-CLEANUP(1)
Impressum