| 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-REPLAY" "8" "May 09, 2026" "" "dnf5" |
| 32 |
.SH NAME |
| 33 |
dnf5-replay \- Replay Command |
| 34 |
.SH SYNOPSIS |
| 35 |
.sp |
| 36 |
\fBdnf5 replay [options] <transaction\-path>\fP |
| 37 |
.SH DESCRIPTION |
| 38 |
.sp |
| 39 |
Replay a transaction stored in a directory at \fB<transaction\-path>\fP\&. The transaction directory can be created either by |
| 40 |
the \fB\-\-store\fP option, available for all transaction commands, or by \fIHistory Store Command\fP\&. The replay will perform |
| 41 |
the exact same operations on the packages as in the original transaction and will return with an error in case of any |
| 42 |
differences in installed packages or their versions. |
| 43 |
.sp |
| 44 |
To run the replay the transaction directory has to contain a file with the transaction in JSON format named \fBtransaction.json\fP\&. |
| 45 |
The directory can also contain packages, comps groups or comps environments that will be used used in the replayed transaction. |
| 46 |
.SH OPTIONS |
| 47 |
.INDENT 0.0 |
| 48 |
.TP |
| 49 |
.B \fB\-\-ignore\-extras\fP |
| 50 |
.nf |
| 51 |
Don\(aqt consider extra packages pulled into the transaction as errors. |
| 52 |
They will still be reported as warnings. |
| 53 |
.fi |
| 54 |
.sp |
| 55 |
.TP |
| 56 |
.B \fB\-\-ignore\-installed\fP |
| 57 |
.nf |
| 58 |
Don\(aqt consider mismatches between installed and stored transaction packages as errors. |
| 59 |
They will still be reported as warnings. |
| 60 |
For install actions skip already installed packages. |
| 61 |
For upgrade actions skip groups or environments that are not installed. |
| 62 |
For remove actions skip not installed packages/groups/environments. |
| 63 |
Using this option can result in an empty transaction. |
| 64 |
.fi |
| 65 |
.sp |
| 66 |
.TP |
| 67 |
.B \fB\-\-skip\-broken\fP |
| 68 |
.nf |
| 69 |
Resolve any dependency problems by removing packages that are causing problems from the transaction. |
| 70 |
.fi |
| 71 |
.sp |
| 72 |
.TP |
| 73 |
.B \fB\-\-skip\-unavailable\fP |
| 74 |
.nf |
| 75 |
In case some packages stored in the transaction are not available on the target system, |
| 76 |
skip them instead of erroring out. |
| 77 |
.fi |
| 78 |
.sp |
| 79 |
.UNINDENT |
| 80 |
.SH EXAMPLES |
| 81 |
.INDENT 0.0 |
| 82 |
.TP |
| 83 |
.B \fBdnf5 replay ./transaction\fP |
| 84 |
.nf |
| 85 |
Replay a transaction stored at ./transaction. |
| 86 |
.fi |
| 87 |
.sp |
| 88 |
.TP |
| 89 |
.B \fBdnf5 replay ./transaction \-\-skip\-unavailable\fP |
| 90 |
.nf |
| 91 |
Replay a transaction stored at ./transaction skipping unavailable packages. |
| 92 |
.fi |
| 93 |
.sp |
| 94 |
.UNINDENT |
| 95 |
.SH Author |
| 96 |
See AUTHORS.md in dnf5 source distribution. |
| 97 |
.SH Copyright |
| 98 |
Contributors to the dnf5 project. |
| 99 |
.\" End of generated man page. |