Debian Codegraph @

upstream/debian-unstable/man8/dnf5-reinstall.8

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