.\" Man page generated from reStructuredText .\" by the Docutils 0.22.3 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-REPOMANAGE" "8" "Nov 20, 2025" "" "dnf5" .SH NAME dnf5-repomanage \- Repomanage Command .SH SYNOPSIS .sp \fBdnf5 [GLOBAL OPTIONS] repomanage [OPTIONS] \fP .SH DESCRIPTION .sp \fIrepomanage\fP prints newest or older packages in a repository specified by \fI\fP for easy piping to xargs or similar programs. In case \fI\fP doesn\(aqt contain \fIrepodata/repomd.xml\fP, it is searched for rpm packages which are then used instead. 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. .sp If \fI\fP specifies remote url, \fIrepomanage\fP attempts to download the remote repodata into a temporary directory and use them. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-new\fP .nf Print N newest packages for each name.arch (default). .fi .sp .TP .B \fB\-\-old\fP .nf Print all packages except the N newest for each name.arch .fi .sp .TP .B \fB\-k \fP, \fB\-\-keep \fP .nf Set package count N for \-\-new and \-\-old (default: 1) .fi .sp .TP .B \fB\-s\fP, \fB\-\-space\fP .nf Print packages separated by spaces instead of new lines .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf repomanage \-\-new .\fP .nf Display newest packages in current repository (directory). .fi .sp .TP .B \fBdnf repomanage \-\-new \-\-keep 2 ~/\fP .nf Display 2 newest versions of each package in \(dqhome\(dq directory. .fi .sp .TP .B \fBdnf repomanage \-\-old \-\-space .\fP .nf Display all but the newest packages separated by space in current repository (directory). .fi .sp .TP .B \fBdnf repomanage http://download.example/repo/\fP .nf Download the repository metadata into a temporary directory, load them and display the newest packages. .fi .sp .UNINDENT .SH Author See AUTHORS.md in dnf5 source distribution. .SH Copyright Contributors to the dnf5 project. .\" End of generated man page.