Debian Codegraph @

upstream/debian-unstable/man1/package-cleanup.1

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "PACKAGE-CLEANUP" "1" "Sep 27, 2025" "4.10.1" "dnf-plugins-core"
31 .SH NAME
32 package-cleanup \- clean up locally installed, duplicate, or orphaned packages.
33 .sp
34 A DNF\-based shim imitating the original YUM\-based package\-cleanup utility.
35 .SH SYNOPSIS
36 .sp
37 \fBpackage\-cleanup [options]\fP
38 .SH OPTIONS
39 .sp
40 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
41 .INDENT 0.0
42 .TP
43 .B \fB\-\-leaves\fP
44 List leaf nodes in the local RPM database.
45 Leaf nodes are RPMs that are not relied upon by any other RPM.
46 Maps to \fBdnf repoquery \-\-unneeded\fP\&.
47 .TP
48 .B \fB\-\-orphans\fP
49 List installed packages which are not available from currently configured
50 repositories.
51 Maps to \fBdnf repoquery \-\-extras\fP\&.
52 .TP
53 .B \fB\-\-problems\fP
54 List dependency problems in the local RPM database.
55 Maps to \fBdnf repoquery \-\-unsatisfied\fP\&.
56 .TP
57 .B \fB\-\-dupes\fP
58 Scan for duplicates in the local RPM database.
59 Maps to \fBdnf repoquery \-\-duplicates\fP\&.
60 .TP
61 .B \fB\-\-cleandupes\fP
62 Scan for duplicates in the local RPM database and clean out the older
63 versions.
64 Maps to \fBdnf remove \-\-duplicates\fP\&.
65 .UNINDENT
66 .SH EXAMPLES
67 .INDENT 0.0
68 .TP
69 .B \fBpackage\-cleanup \-\-problems\fP
70 List all dependency problems.
71 .TP
72 .B \fBpackage\-cleanup \-\-orphans\fP
73 List all packages that are not in any DNF repository.
74 .TP
75 .B \fBpackage\-cleanup \-\-cleandupes\fP
76 Remove all packages that have a duplicate installed.
77 .UNINDENT
78 .SH AUTHOR
79 See AUTHORS in your Core DNF Plugins distribution
80 .SH COPYRIGHT
81 2014, Red Hat, Licensed under GPLv2+
82 .\" Generated by docutils manpage writer.
83 .