Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-repomanage.8

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 "DNF5-REPOMANAGE" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-repomanage \- Repomanage Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 [GLOBAL OPTIONS] repomanage [OPTIONS] <path>\fP
36 .SH DESCRIPTION
37 .sp
38 \fIrepomanage\fP prints newest or older packages in a repository specified by \fI<path>\fP for easy piping to xargs or similar programs.
39 In case \fI<path>\fP doesn\(aqt contain \fIrepodata/repomd.xml\fP, it is searched for rpm packages which are then used instead.
40 If the repodata are present, \fIrepomanage\fP uses them as the source of truth, it doesn\(aqt verify that they match the present rpm packages. In fact, \fIrepomanage\fP can run with just the repodata, no rpm packages are needed.
41 .sp
42 If \fI<path>\fP specifies remote url, \fIrepomanage\fP attempts to download the remote repodata into a temporary directory and use them.
43 .SH OPTIONS
44 .INDENT 0.0
45 .TP
46 .B \fB\-\-new\fP
47 .nf
48 Print N newest packages for each name.arch (default).
49 .fi
50 .sp
51 .TP
52 .B \fB\-\-old\fP
53 .nf
54 Print all packages except the N newest for each name.arch
55 .fi
56 .sp
57 .TP
58 .B \fB\-k <N>\fP, \fB\-\-keep <N>\fP
59 .nf
60 Set package count N for \-\-new and \-\-old (default: 1)
61 .fi
62 .sp
63 .TP
64 .B \fB\-s\fP, \fB\-\-space\fP
65 .nf
66 Print packages separated by spaces instead of new lines
67 .fi
68 .sp
69 .UNINDENT
70 .SH EXAMPLES
71 .INDENT 0.0
72 .TP
73 .B \fBdnf repomanage \-\-new .\fP
74 .nf
75 Display newest packages in current repository (directory).
76 .fi
77 .sp
78 .TP
79 .B \fBdnf repomanage \-\-new \-\-keep 2 ~/\fP
80 .nf
81 Display 2 newest versions of each package in \(dqhome\(dq directory.
82 .fi
83 .sp
84 .TP
85 .B \fBdnf repomanage \-\-old \-\-space .\fP
86 .nf
87 Display all but the newest packages separated by space in current repository (directory).
88 .fi
89 .sp
90 .TP
91 .B \fBdnf repomanage http://download.example/repo/\fP
92 .nf
93 Download the repository metadata into a temporary directory, load them and display the newest packages.
94 .fi
95 .sp
96 .UNINDENT
97 .SH AUTHOR
98 See AUTHORS.md in dnf5 source distribution.
99 .SH COPYRIGHT
100 Contributors to the dnf5 project.
101 .\" Generated by docutils manpage writer.
102 .