Debian Codegraph @

upstream/debian-unstable/man8/dnf5-repomanage.8

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "DNF5-REPOMANAGE" "8" "May 09, 2026" "" "dnf5"
32 .SH NAME
33 dnf5-repomanage \- Repomanage Command
34 .SH SYNOPSIS
35 .sp
36 \fBdnf5 [GLOBAL OPTIONS] repomanage [OPTIONS] <path>\fP
37 .SH DESCRIPTION
38 .sp
39 \fIrepomanage\fP prints newest or older packages in a repository specified by \fI<path>\fP for easy piping to xargs or similar programs.
40 In case \fI<path>\fP doesn\(aqt contain \fIrepodata/repomd.xml\fP, it is searched for rpm packages which are then used instead.
41 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.
42 .sp
43 If \fI<path>\fP specifies remote url, \fIrepomanage\fP attempts to download the remote repodata into a temporary directory and use them.
44 .SH OPTIONS
45 .INDENT 0.0
46 .TP
47 .B \fB\-\-new\fP
48 .nf
49 Print N newest packages for each name.arch (default).
50 .fi
51 .sp
52 .TP
53 .B \fB\-\-old\fP
54 .nf
55 Print all packages except the N newest for each name.arch
56 .fi
57 .sp
58 .TP
59 .B \fB\-k <N>\fP, \fB\-\-keep <N>\fP
60 .nf
61 Set package count N for \-\-new and \-\-old (default: 1)
62 .fi
63 .sp
64 .TP
65 .B \fB\-s\fP, \fB\-\-space\fP
66 .nf
67 Print packages separated by spaces instead of new lines
68 .fi
69 .sp
70 .UNINDENT
71 .SH EXAMPLES
72 .INDENT 0.0
73 .TP
74 .B \fBdnf repomanage \-\-new .\fP
75 .nf
76 Display newest packages in current repository (directory).
77 .fi
78 .sp
79 .TP
80 .B \fBdnf repomanage \-\-new \-\-keep 2 ~/\fP
81 .nf
82 Display 2 newest versions of each package in \(dqhome\(dq directory.
83 .fi
84 .sp
85 .TP
86 .B \fBdnf repomanage \-\-old \-\-space .\fP
87 .nf
88 Display all but the newest packages separated by space in current repository (directory).
89 .fi
90 .sp
91 .TP
92 .B \fBdnf repomanage http://download.example/repo/\fP
93 .nf
94 Download the repository metadata into a temporary directory, load them and display the newest packages.
95 .fi
96 .sp
97 .UNINDENT
98 .SH Author
99 See AUTHORS.md in dnf5 source distribution.
100 .SH Copyright
101 Contributors to the dnf5 project.
102 .\" End of generated man page.