Debian Codegraph @

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