Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-downgrade.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-DOWNGRADE" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-downgrade \- Downgrade Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 downgrade [options] <package\-spec\-NPFB>...\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBdowngrade\fP command in \fBDNF5\fP is used to downgrade each package specified in \fBpackage\-spec\-NPFB\fP list to the
39 highest installable version of all known lower versions if possible. When the version is explicitly given
40 in the argument and it is lower than the version of the installed package then it downgrades to this one.
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 downgrade. All remaining packages will be downgraded.
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 \fI\%offline command\fP, \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 \fI\%replay command\fP, \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 downgrade nano\-0:6.0\-2.fc36\fP
133 .nf
134 Downgrade the \fBnano\fP package to the given version.
135 .fi
136 .sp
137 .TP
138 .B \fBdnf5 downgrade gcc glibc \-\-allowerasing\fP
139 .nf
140 Downgrade \fBgcc\fP, \fBglibc\fP packages and allow removing of installed packages when needed.
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 .