diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:51:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:51:52 +0000 |
commit | 4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch) | |
tree | 3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/fedora-rawhide/man8/dnf4-repomanage.8 | |
parent | Adding upstream version 4.22.0. (diff) | |
download | manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip |
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/fedora-rawhide/man8/dnf4-repomanage.8')
-rw-r--r-- | upstream/fedora-rawhide/man8/dnf4-repomanage.8 | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/upstream/fedora-rawhide/man8/dnf4-repomanage.8 b/upstream/fedora-rawhide/man8/dnf4-repomanage.8 new file mode 100644 index 00000000..cdd3dc34 --- /dev/null +++ b/upstream/fedora-rawhide/man8/dnf4-repomanage.8 @@ -0,0 +1,112 @@ +.\" Man page generated from reStructuredText. +. +. +.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 "DNF4-REPOMANAGE" "8" "Apr 24, 2024" "4.7.0" "dnf-plugins-core" +.SH NAME +dnf4-repomanage \- DNF repomanage Plugin +.sp +Manage a repository or a simple directory of rpm packages. +.SH SYNOPSIS +.sp +\fBdnf repomanage [<optional\-options>] [<options>] <path>\fP +.SH DESCRIPTION +.sp +\fIrepomanage\fP prints newest or older packages in a repository specified by <path> for easy piping to xargs or similar programs. In case <path> doesn\(aqt contain a valid repodata, 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 +In order to work correctly with modular packages, <path> has to contain repodata with modular metadata. If modular content is present, \fIrepomanage\fP prints packages from newest or older stream versions in addition to newest or older non\-modular packages. +.SS Options +.sp +All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details. +.sp +The following options set what packages are displayed. These options are mutually exclusive, i.e. only one can be specified. If no option is specified, the newest packages are shown. +.INDENT 0.0 +.TP +.B \fB\-\-old\fP +Show older packages (for a package or a stream show all versions except the newest one). +.TP +.B \fB\-\-oldonly\fP +Show older packages (same as \-\-old, but exclude the newest packages even when it\(aqs included in the older stream versions). +.TP +.B \fB\-\-new\fP +Show newest packages. +.UNINDENT +.sp +The following options control how packages are displayed in the output: +.INDENT 0.0 +.TP +.B \fB\-s\fP, \fB\-\-space\fP +Print resulting set separated by space instead of newline. +.TP +.B \fB\-k <keep\-number>\fP, \fB\-\-keep <keep\-number>\fP +Limit the resulting set to newest \fB<keep\-number>\fP packages. +.UNINDENT +.SH EXAMPLES +.sp +Display newest packages in current repository (directory): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +dnf repomanage \-\-new . +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Display 2 newest versions of each package in \(dqhome\(dq directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +dnf repomanage \-\-new \-\-keep 2 ~/ +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Display oldest packages separated by space in current repository (directory): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +dnf repomanage \-\-old \-\-space . +.ft P +.fi +.UNINDENT +.UNINDENT +.SH AUTHOR +See AUTHORS in your Core DNF Plugins distribution +.SH COPYRIGHT +2024, Red Hat, Licensed under GPLv2+ +.\" Generated by docutils manpage writer. +. |