Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-reinstall.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-REINSTALL" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-reinstall \- Reinstall Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 reinstall [global options] <package\-spec\-NPFB>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBreinstall\fP command in \fBDNF5\fP is used for reinstalling packages defined in
39 \fBpackage\-spec\-NPFB\fP arguments.
40 .SH OPTIONS
41 .INDENT 0.0
42 .TP
43 .B \fB\-\-allowerasing\fP
44 .nf
45 Allow removing of installed packages to resolve any potential dependency problems.
46 .fi
47 .sp
48 .TP
49 .B \fB\-\-skip\-broken\fP
50 .nf
51 Resolve any dependency problems by removing packages that are causing problems from the transaction.
52 .fi
53 .sp
54 .TP
55 .B \fB\-\-skip\-unavailable\fP
56 .nf
57 Allow skipping packages that are not possible to reinstall. All remaining packages will be reinstalled.
58 .fi
59 .sp
60 .TP
61 .B \fB\-\-allow\-downgrade\fP
62 .nf
63 Enable downgrade of dependencies when resolving the requested operation.
64 .fi
65 .sp
66 .TP
67 .B \fB\-\-no\-allow\-downgrade\fP
68 .nf
69 Disable downgrade of dependencies when resolving the requested operation.
70 .fi
71 .sp
72 .UNINDENT
73 .INDENT 0.0
74 .TP
75 .B \fB\-\-installed\-from\-repo=REPO_ID,...\fP
76 .nf
77 Filters installed packages by the ID of the repository they were installed from.
78 .fi
79 .sp
80 .UNINDENT
81 .INDENT 0.0
82 .TP
83 .B \fB\-\-from\-repo=REPO_ID,...\fP
84 .nf
85 Packages (or their provides) explicitly specified on the command line will only be looked up in the specified repositories.
86 These repositories are automatically enabled.
87 Repository enabling and disabling still applies. Dependencies of these packages will be resolved from any enabled repository.
88 .fi
89 .sp
90 .UNINDENT
91 .INDENT 0.0
92 .TP
93 .B \fB\-\-from\-vendor=VENDOR,...\fP
94 .nf
95 List of vendors separated by commas or spaces. Globs are supported (e.g., \fB\-\-from\-vendor=\(aqFedora\e project, vendorA, vendorB*, vendorC\(aq\fP).
96 Packages (or their provides) explicitly specified on the command line will only be looked up from the specified vendors.
97 The vendor change check is \fBbypassed\fP for these packages.
98 The vendor is ignored or vendor change policies (if \fBallow_vendor_change=0\fP) will still be used for packages that satisfy dependencies.
99 .fi
100 .sp
101 .UNINDENT
102 .INDENT 0.0
103 .TP
104 .B \fB\-\-downloadonly\fP
105 .nf
106 Download the resolved package set without executing an RPM transaction.
107 .fi
108 .sp
109 .UNINDENT
110 .INDENT 0.0
111 .TP
112 .B \fB\-\-offline\fP
113 .nf
114 Store the transaction to be performed offline. See \fI\%offline command\fP, \fBdnf5\-offline(8)\fP\&.
115 .fi
116 .sp
117 .TP
118 .B \fB\-\-store=PATH\fP
119 .nf
120 Store the current transaction in a directory at the specified \fBPATH\fP instead of running it.
121 The stored transaction can be performed by the \fI\%replay command\fP, \fBdnf5\-replay(8)\fP\&.
122 Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required
123 because during replaying the stored repositories are recreated and they might collide with already present repositories
124 (this doesn\(aqt apply to the special @System repository).
125 .fi
126 .sp
127 .UNINDENT
128 .SH EXAMPLES
129 .INDENT 0.0
130 .TP
131 .B \fBdnf5 reinstall tito\fP
132 .nf
133 Reinstall the \fBtito\fP package.
134 .fi
135 .sp
136 .TP
137 .B \fBdnf5 reinstall ~/Downloads/tito\-0.6.21\-1.fc36.noarch.rpm\fP
138 .nf
139 Reinstall the \fBtito\fP package from the local rpm file.
140 This can be useful f.e. when the given package is not available in any enabled repository.
141 .fi
142 .sp
143 .UNINDENT
144 .SH SEE ALSO
145 .INDENT 0.0
146 .INDENT 3.5
147 .nf
148 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
149 .fi
150 .sp
151 .UNINDENT
152 .UNINDENT
153 .SH AUTHOR
154 See AUTHORS.md in dnf5 source distribution.
155 .SH COPYRIGHT
156 Contributors to the dnf5 project.
157 .\" Generated by docutils manpage writer.
158 .