logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

package-cleanup - clean up locally installed, duplicate, or orphaned packages.

Author

       See AUTHORS in your Core DNF Plugins distribution

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.

Name

       package-cleanup - clean up locally installed, duplicate, or orphaned packages.

       A DNF-based shim imitating the original YUM-based package-cleanup utility.

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 dnfrepoquery--unneeded.

       --orphans
              List installed packages which are not available from currently configured repositories.   Maps  to
              dnfrepoquery--extras.

       --problems
              List dependency problems in the local RPM database.  Maps to dnfrepoquery--unsatisfied.

       --dupes
              Scan for duplicates in the local RPM database.  Maps to dnfrepoquery--duplicates.

       --cleandupes
              Scan  for  duplicates  in  the  local  RPM database and clean out the older versions.  Maps to dnfremove--duplicates.

Synopsis

package-cleanup[options]

See Also