Debian Codegraph @

upstream/debian-unstable/man8/yum2dnf.8

raw
1 '\" t
2 .\" Man page generated from reStructuredText
3 .\" by the Docutils 0.22.2 manpage writer.
4 .
5 .
6 .nr rst2man-indent-level 0
7 .
8 .de1 rstReportMargin
9 \\$1 \\n[an-margin]
10 level \\n[rst2man-indent-level]
11 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
12 -
13 \\n[rst2man-indent0]
14 \\n[rst2man-indent1]
15 \\n[rst2man-indent2]
16 ..
17 .de1 INDENT
18 .\" .rstReportMargin pre:
19 . RS \\$1
20 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
21 . nr rst2man-indent-level +1
22 .\" .rstReportMargin post:
23 ..
24 .de UNINDENT
25 . RE
26 .\" indent \\n[an-margin]
27 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .nr rst2man-indent-level -1
29 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 ..
32 .TH "YUM2DNF" "8" "Oct 24, 2025" "4.24.0" "DNF"
33 .SH NAME
34 yum2dnf \- Changes in DNF compared to YUM
35 .SH --SKIP-BROKEN
36 .sp
37 For install command:
38 .sp
39 The \fB\-\-skip\-broken\fP option is an alias for \fB\-\-setopt=strict=0\fP\&. Both options could be used
40 with DNF to skip all unavailable packages or packages with broken dependencies given to DNF
41 without raising an error causing the whole operation to fail. This behavior can be set as default
42 in dnf.conf file. See strict conf option \%<#\:strict-label>\&.
43 .sp
44 For upgrade command:
45 .sp
46 The semantics that were supposed to trigger in YUM with \fB\-\-skip\-broken\fP are now set for plain
47 \fBdnf update\fP as a default. There is no need to use \fB\-\-skip\-broken\fP with the \fBdnf upgrade\fP
48 command. To use only the latest versions of packages in transactions, there is the \fB\-\-best\fP
49 command line switch.
50 .SH UPDATE AND UPGRADE COMMANDS ARE THE SAME
51 .sp
52 Invoking \fBdnf update\fP or \fBdnf upgrade\fP, in all their forms, has the same
53 effect in DNF, with the latter being preferred. In YUM \fByum upgrade\fP was
54 exactly like \fByum \-\-obsoletes update\fP\&.
55 .SH CLEAN_REQUIREMENTS_ON_REMOVE ON BY DEFAULT
56 .sp
57 The clean_requirements_on_remove \%<#\:clean-requirements-on-remove-label>
58 switch is on by default in DNF. It can thus be confusing to compare the \(dqremove\(dq
59 operation results between DNF and YUM as by default DNF is often going to remove
60 more packages.
61 .SH NO RESOLVEDEP COMMAND
62 .sp
63 The YUM version of this command is maintained for legacy reasons only. The user
64 can just use \fBdnf provides\fP to find out what package provides a particular file.
65 .SH NO DEPLIST COMMAND
66 .sp
67 An alternative to the YUM \fBdeplist\fP command to find out dependencies of a package
68 is \fBdnf repoquery \-\-deplist\fP using repoquery command \%<#\:repoquery-command-label>\&.
69 .sp
70 \fBNote:\fP
71 .INDENT 0.0
72 .INDENT 3.5
73 Alternatively there is a YUM compatibility support where
74 \fByum deplist\fP is alias for \fBdnf repoquery \-\-deplist\fP command
75 .UNINDENT
76 .UNINDENT
77 .SH EXCLUDES AND REPO EXCLUDES APPLY TO ALL OPERATIONS
78 .sp
79 YUM only respects excludes during installs and upgrades. DNF extends this to all
80 operations, among others erasing and listing. If you e.g. want to see a list of
81 all installed \fBpython\-f*\fP packages but not any of the Flask packages, the
82 following will work:
83 .INDENT 0.0
84 .INDENT 3.5
85 .sp
86 .EX
87 dnf \-x \(aq*flask*\(aq list installed \(aqpython\-f*\(aq
88 .EE
89 .UNINDENT
90 .UNINDENT
91 .SH THE INCLUDE OPTION HAS BEEN REMOVED
92 .sp
93 Inclusion of other configuration files in the main configuration file is no longer supported.
94 .SH DNF PROVIDES /BIN/<FILE> IS NOT FULLY SUPPORTED
95 .sp
96 After UsrMove \%<https://\:fedoraproject\:.org/\:wiki/\:Features/\:UsrMove> there\(aqs no
97 directory \fB/bin\fP on Fedora systems and no files get installed there,
98 \fB/bin\fP is only a symlink created by the \fBfilesystem\fP package to point to
99 \fB/usr/bin\fP\&. Resolving the symlinks to their real path would only give the
100 user a false sense that this works, while in fact provides requests using globs
101 such as:
102 .INDENT 0.0
103 .INDENT 3.5
104 .sp
105 .EX
106 dnf provides /b*/<file>
107 .EE
108 .UNINDENT
109 .UNINDENT
110 .sp
111 will fail still (as they do in YUM now). To find what provides a particular
112 binary, use the actual path for binaries on Fedora:
113 .INDENT 0.0
114 .INDENT 3.5
115 .sp
116 .EX
117 dnf provides /usr/bin/<file>
118 .EE
119 .UNINDENT
120 .UNINDENT
121 .sp
122 Also see related Fedora bugzillas 982947 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=982947> and 982664 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=982664>\&.
123 .SH SKIP_IF_UNAVAILABLE COULD BE ENABLED BY DEFAULT
124 .sp
125 In some distributions DNF is shipped with \fBskip_if_unavailable=True\fP in
126 the DNF configuration file \%<#\:conf-ref-label>\&. The reason for the change
127 is that third\-party repositories can often be unavailable. Without this setting
128 in the relevant repository configuration file YUM immediately stops on a
129 repository synchronization error, confusing and bothering the user.
130 .sp
131 See the related Fedora bug 984483 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=984483>\&.
132 .SH OVERWRITE_GROUPS DROPPED, COMPS FUNCTIONS ACTING AS IF ALWAYS DISABLED
133 .sp
134 This config option has been dropped. When DNF sees several groups with the same
135 group ID it merges the groups\(aq contents together.
136 .SH MIRRORLIST_EXPIRE DROPPED
137 .sp
138 To simplify things for the user, DNF uses \fBmetadata_expire\fP for both expiring
139 metadata and the mirrorlist file (which is a kind of metadata itself).
140 .SH METALINK NOT RECOGNIZED IN THE MIRRORLIST REPO OPTION
141 .sp
142 The following part of \fByum.conf(5)\fP no longer applies for the \fBmirrorlist\fP
143 option:
144 .INDENT 0.0
145 .INDENT 3.5
146 As a special hack if the mirrorlist URL contains the word \(dqmetalink\(dq then
147 the value of mirrorlist is copied to metalink (if metalink is not set).
148 .UNINDENT
149 .UNINDENT
150 .sp
151 The relevant repository configuration files have been fixed to respect this, see
152 the related Fedora bug 948788 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=948788>\&.
153 .SH ALWAYSPROMPT DROPPED
154 .sp
155 Unsupported to simplify the configuration.
156 .SH UPGRADE_REQUIREMENTS_ON_INSTALL DROPPED
157 .sp
158 Dropping this config option with blurry semantics simplifies the
159 configuration. DNF behaves as if this was disabled. If the user wanted to
160 upgrade everything to the latest version she\(aqd simply use \fBdnf upgrade\fP\&.
161 .SH DNF HISTORY ROLLBACK CHECK DROPPED
162 .sp
163 Since DNF tolerates the use of other package managers, it is possible that not
164 all changes to the RPMDB are stored in the history of transactions. Therefore, DNF
165 does not fail if such a situation is encountered and thus the \fBforce\fP option
166 is not needed anymore.
167 .SH PACKAGES REPLACEMENT WITHOUT YUM SWAP
168 .sp
169 Time after time one needs to remove an installed package and replace it with a different one, providing the same capabilities while other packages depending on these capabilities stay installed. Without (transiently) breaking consistency of the package database this can be done by performing the remove and the install in one transaction. The common way to set up such a transaction in DNF is to use \fBdnf shell\fP or use the \fB\-\-allowerasing\fP switch.
170 .sp
171 E.g. say you want to replace \fBA\fP (providing \fBP\fP) with B (also providing \fBP\fP, conflicting with \fBA\fP) without deleting \fBC\fP (which requires \fBP\fP) in the process. Use:
172 .INDENT 0.0
173 .INDENT 3.5
174 .sp
175 .EX
176 dnf \-\-allowerasing install B
177 .EE
178 .UNINDENT
179 .UNINDENT
180 .sp
181 This command is equal to \fByum swap A B\fP\&.
182 .sp
183 DNF provides swap command but only \fBdnf swap A B\fP syntax is supported
184 .SH DEPENDENCY PROCESSING DETAILS ARE NOT SHOWN IN THE CLI
185 .sp
186 During its depsolving phase, YUM outputs lines similar to:
187 .INDENT 0.0
188 .INDENT 3.5
189 .sp
190 .EX
191 \-\-\-> Package rubygem\-rhc.noarch 0:1.16.9\-1.fc19 will be an update
192 \-\-> Processing Dependency: rubygem\-net\-ssh\-multi >= 1.2.0 for package: rubygem\-rhc\-1.16.9\-1.fc19.noarch
193 .EE
194 .UNINDENT
195 .UNINDENT
196 .sp
197 DNF does not output information like this. The technical reason is that depsolver below DNF always considers all dependencies for update candidates and the output would be very long. Secondly, even in YUM this output gets confusing very quickly especially for large transactions and so does more harm than good.
198 .sp
199 See the related Fedora bug 1044999 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=1044999>\&.
200 .SH DNF PROVIDES COMPLIES WITH THE YUM DOCUMENTATION OF THE COMMAND
201 .sp
202 When one executes:
203 .INDENT 0.0
204 .INDENT 3.5
205 .sp
206 .EX
207 yum provides sandbox
208 .EE
209 .UNINDENT
210 .UNINDENT
211 .sp
212 YUM applies extra heuristics to determine what the user meant by \fBsandbox\fP, for instance it sequentially prepends entries from the \fBPATH\fP environment variable to it to see if it matches a file provided by some package. This is an undocumented behavior that DNF does not emulate. Just typically use:
213 .INDENT 0.0
214 .INDENT 3.5
215 .sp
216 .EX
217 dnf provides /usr/bin/sandbox
218 .EE
219 .UNINDENT
220 .UNINDENT
221 .sp
222 or even:
223 .INDENT 0.0
224 .INDENT 3.5
225 .sp
226 .EX
227 dnf provides \(aq*/sandbox\(aq
228 .EE
229 .UNINDENT
230 .UNINDENT
231 .sp
232 to obtain similar results.
233 .SH BANDWIDTH LIMITING
234 .sp
235 DNF supports the \fBthrottle\fP and \fBbandwidth\fP options familiar from YUM.
236 Contrary to YUM, when multiple downloads run simultaneously the total
237 downloading speed is throttled. This was not possible in YUM since
238 downloaders ran in different processes.
239 .SH INSTALLONLYPKGS CONFIG OPTION
240 .sp
241 Compared to YUM, DNF appends list values from the \fBinstallonlypkgs\fP config option to DNF defaults, where YUM overwrites the defaults by option values.
242 .SH THE USAGE OF DELTA RPM FILES
243 .sp
244 The boolean \fBdeltarpm\fP option controls whether delta RPM files are used. Compared to YUM, DNF does not support \fBdeltarpm_percentage\fP and instead chooses some optimal value of DRPM/RPM ratio to decide whether using deltarpm makes sense in the given case.
245 .SH HANDLING .SRPM FILES AND NON-EXISTENT PACKAGES
246 .sp
247 DNF will terminate early with an error if a command is executed requesting an installing operation on a local \fB\&.srpm\fP file:
248 .INDENT 0.0
249 .INDENT 3.5
250 .sp
251 .EX
252 $ dnf install fdn\-0.4.17\-1.fc20.src.rpm tour\-4\-6.noarch.rpm
253 Error: Will not install a source rpm package (fdn\-0.4.17\-1.fc20.src).
254 .EE
255 .UNINDENT
256 .UNINDENT
257 .sp
258 The same applies for package specifications that do not match any available package.
259 .sp
260 YUM will only issue a warning in this case and continue installing the \(dqtour\(dq package. The rationale behind the result in DNF is that a program should terminate with an error if it can not fulfill the CLI command in its entirety.
261 .SH PROMOTING PACKAGE TO INSTALL TO A PACKAGE THAT OBSOLETES IT
262 .sp
263 DNF will not magically replace a request for installing package \fBX\fP to installing package \fBY\fP if \fBY\fP obsoletes \fBX\fP\&. YUM does this if its \fBobsoletes\fP config option is enabled but the behavior is not properly documented and can be harmful.
264 .sp
265 See the related Fedora bug 1096506 \%<https://\:bugzilla\:.redhat\:.com/\:show_bug\:.cgi?\:id=1096506> and guidelines for renaming and obsoleting packages in Fedora \%<http://\:fedoraproject\:.org/\:wiki/\:Upgrade_paths_%E2%80%94_renaming_or_splitting_packages>\&.
266 .SH BEHAVIOR OF --INSTALLROOT OPTION
267 .sp
268 DNF offers more predictable behavior of installroot. DNF handles the path differently
269 from the \fB\-\-config\fP command\-line option, where this path is always related to the host
270 system (YUM combines this path with installroot). Reposdir is also handled slightly
271 differently, if one path of the reposdirs exists inside of installroot, then
272 repos are strictly taken from installroot (YUM tests each path from reposdir
273 separately and use installroot path if existed). See the detailed description for
274 \-\-installroot \%<#\:installroot-label> option.
275 .SH DIFFERENT PROMPT AFTER TRANSACTION TABLE
276 .sp
277 DNF doesn\(aqt provide download functionality after displaying transaction table. It only asks user whether to continue with transaction or not.
278 If one wants to download packages, they can use the \(aqdownload\(aq command.
279 .SH LIST COMMAND SHOWS ALL REPO ALTERNATIVES
280 .sp
281 DNF lists all packages from all repos, which means there can be duplicates package names (with different repo name). This is due to providing users
282 possibility to choose preferred repo.
283 .SH YUM-LANGPACKS SUBCOMMANDS HAVE BEEN REMOVED
284 .sp
285 Translations became part of core DNF and it is no longer
286 necessary to manage individual language packs.
287 .sp
288 Following sub\-commands were removed:
289 .INDENT 0.0
290 .IP \(bu 2
291 langavailable
292 .IP \(bu 2
293 langinstall
294 .IP \(bu 2
295 langremove
296 .IP \(bu 2
297 langlist
298 .IP \(bu 2
299 langinfo
300 .UNINDENT
301 .SH DNF HISTORY SUBCOMMANDS LIST AND INFO RETURN 0 WHEN TRANSACTIONS NOT FOUND
302 .sp
303 DNF \fBdnf history list\fP and \fBdnf history info\fP return a zero exit status when they
304 fail to find transactions for a specified package.
305 .sp
306 This is different from corresponding YUM \fByum history package\-list\fP and
307 \fByum history list\fP, which both return a non\-zero exit status when they fail to find
308 .INDENT 0.0
309 .INDENT 3.5
310 transactions for a specified package.
311 .UNINDENT
312 .UNINDENT
313 .TS
314 box center;
315 l|l|l.
316 T{
317 Original YUM tool
318 T} T{
319 DNF command/option
320 T} T{
321 Package
322 T}
323 _
324 T{
325 \fByum check\fP
326 T} T{
327 dnf repoquery \%<#\:repoquery-command-label> \fB\-\-unsatisfied\fP
328 T} T{
329 \fBdnf\fP
330 T}
331 _
332 T{
333 \fByum\-langpacks\fP
334 T} T{
335 T} T{
336 \fBdnf\fP
337 T}
338 _
339 T{
340 \fByum\-plugin\-aliases\fP
341 T} T{
342 dnf alias \%<#\:alias-command-label>
343 T} T{
344 \fBdnf\fP
345 T}
346 _
347 T{
348 \fByum\-plugin\-auto\-update\-debug\-info\fP
349 T} T{
350 option in \fBdebuginfo\-install.conf\fP
351 T} T{
352 \fBdnf\-plugins\-core\fP
353 T}
354 _
355 T{
356 \fByum\-plugin\-changelog\fP
357 T} T{
358 T} T{
359 \fBdnf\-plugins\-core\fP
360 T}
361 _
362 T{
363 \fByum\-plugin\-copr\fP
364 T} T{
365 dnf copr \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:copr\:.html>
366 T} T{
367 \fBdnf\-plugins\-core\fP
368 T}
369 _
370 T{
371 \fByum\-plugin\-fastestmirror\fP
372 T} T{
373 \fBfastestmirror\fP option in dnf.conf \%<https://\:dnf\:.readthedocs\:.io/\:en/\:latest/\:conf_ref\:.html>
374 T} T{
375 \fBdnf\fP
376 T}
377 _
378 T{
379 \fByum\-plugin\-fs\-snapshot\fP
380 T} T{
381 T} T{
382 \fBdnf\-plugins\-extras\-snapper\fP
383 T}
384 _
385 T{
386 \fByum\-plugin\-local\fP
387 T} T{
388 T} T{
389 \fBdnf\-plugins\-core\fP
390 T}
391 _
392 T{
393 \fByum\-plugin\-merge\-conf\fP
394 T} T{
395 T} T{
396 \fBdnf\-plugins\-extras\-rpmconf\fP
397 T}
398 _
399 T{
400 \fByum\-plugin\-post\-transaction\-actions\fP
401 T} T{
402 T} T{
403 \fBdnf\-plugins\-core\fP
404 T}
405 _
406 T{
407 \fByum\-plugin\-priorities\fP
408 T} T{
409 \fBpriority\fP option in dnf.conf \%<https://\:dnf\:.readthedocs\:.io/\:en/\:latest/\:conf_ref\:.html>
410 T} T{
411 \fBdnf\fP
412 T}
413 _
414 T{
415 \fByum\-plugin\-remove\-with\-leaves\fP
416 T} T{
417 dnf autoremove \%<#\:autoremove-command-label>
418 T} T{
419 \fBdnf\fP
420 T}
421 _
422 T{
423 \fByum\-plugin\-show\-leaves\fP
424 T} T{
425 T} T{
426 \fBdnf\-plugins\-core\fP
427 T}
428 _
429 T{
430 \fByum\-plugin\-tmprepo\fP
431 T} T{
432 \fB\-\-repofrompath\fP option
433 T} T{
434 \fBdnf\fP
435 T}
436 _
437 T{
438 \fByum\-plugin\-tsflags\fP
439 T} T{
440 \fBtsflags\fP option in dnf.conf \%<https://\:dnf\:.readthedocs\:.io/\:en/\:latest/\:conf_ref\:.html>
441 T} T{
442 \fBdnf\fP
443 T}
444 _
445 T{
446 \fByum\-plugin\-versionlock\fP
447 T} T{
448 T} T{
449 \fBpython3\-dnf\-plugin\-versionlock\fP
450 T}
451 _
452 T{
453 \fByum\-rhn\-plugin\fP
454 T} T{
455 T} T{
456 \fBdnf\-plugin\-spacewalk\fP
457 T}
458 .TE
459 .sp
460 Plugins that have not been ported yet:
461 .sp
462 \fByum\-plugin\-filter\-data\fP,
463 \fByum\-plugin\-keys\fP,
464 \fByum\-plugin\-list\-data\fP,
465 \fByum\-plugin\-protectbase\fP,
466 \fByum\-plugin\-ps\fP,
467 \fByum\-plugin\-puppetverify\fP,
468 \fByum\-plugin\-refresh\-updatesd\fP,
469 \fByum\-plugin\-rpm\-warm\-cache\fP,
470 \fByum\-plugin\-upgrade\-helper\fP,
471 \fByum\-plugin\-verify\fP
472 .sp
473 Feel free to file an RFE \%<https://\:github\:.com/\:rpm-software-management/\:dnf/\:wiki/\:Bug-Reporting#\:new-feature-request> for missing functionality if you need it.
474 .sp
475 All ported YUM tools are now implemented as DNF plugins.
476 .TS
477 box center;
478 l|l|l.
479 T{
480 Original YUM tool
481 T} T{
482 New DNF command
483 T} T{
484 Package
485 T}
486 _
487 T{
488 \fBdebuginfo\-install\fP
489 T} T{
490 dnf debuginfo\-install \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:debuginfo-install\:.html>
491 T} T{
492 \fBdnf\-plugins\-core\fP
493 T}
494 _
495 T{
496 \fBfind\-repos\-of\-install\fP
497 T} T{
498 dnf list installed \%<https://\:dnf\:.readthedocs\:.io/\:en/\:latest/\:command_ref\:.html>
499 T} T{
500 \fBdnf\fP
501 T}
502 _
503 T{
504 \fBneeds\-restarting\fP
505 T} T{
506 dnf tracer \%<https://\:dnf-plugins-extras\:.readthedocs\:.io/\:en/\:latest/\:tracer\:.html>
507 T} T{
508 \fBdnf\-plugins\-extras\-tracer\fP
509 T}
510 _
511 T{
512 \fBpackage\-cleanup\fP
513 T} T{
514 dnf list \%<#\:list-command-label>,
515 dnf repoquery \%<#\:repoquery-command-label>
516 T} T{
517 \fBdnf\fP, \fBdnf\-plugins\-core\fP
518 T}
519 _
520 T{
521 \fBrepoclosure\fP
522 T} T{
523 dnf repoclosure \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:repoclosure\:.html>
524 T} T{
525 \fBdnf\-plugins\-extras\-repoclosure\fP
526 T}
527 _
528 T{
529 \fBrepodiff\fP
530 T} T{
531 dnf repodiff \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:repodiff\:.html>
532 T} T{
533 \fBdnf\-plugins\-core\fP
534 T}
535 _
536 T{
537 \fBrepo\-graph\fP
538 T} T{
539 dnf repograph \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:repograph\:.html>
540 T} T{
541 \fBdnf\-plugins\-extras\-repograph\fP
542 T}
543 _
544 T{
545 \fBrepomanage\fP
546 T} T{
547 dnf repomanage \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:repomanage\:.html>
548 T} T{
549 \fBdnf\-plugins\-extras\-repomanage\fP
550 T}
551 _
552 T{
553 \fBrepoquery\fP
554 T} T{
555 dnf repoquery \%<#\:repoquery-command-label>
556 T} T{
557 \fBdnf\fP
558 T}
559 _
560 T{
561 \fBreposync\fP
562 T} T{
563 dnf reposync \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:reposync\:.html>
564 T} T{
565 \fBdnf\-plugins\-core\fP
566 T}
567 _
568 T{
569 \fBrepotrack\fP
570 T} T{
571 dnf download \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:download\:.html> \-\-resolve \-\-alldeps
572 T} T{
573 \fBdnf\-plugins\-core\fP
574 T}
575 _
576 T{
577 \fByum\-builddep\fP
578 T} T{
579 dnf builddep \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:builddep\:.html>
580 T} T{
581 \fBdnf\-plugins\-core\fP
582 T}
583 _
584 T{
585 \fByum\-config\-manager\fP
586 T} T{
587 dnf config\-manager \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:config_manager\:.html>
588 T} T{
589 \fBdnf\-plugins\-core\fP
590 T}
591 _
592 T{
593 \fByum\-debug\-dump\fP
594 T} T{
595 dnf debug\-dump \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:debug\:.html>
596 T} T{
597 \fBdnf\-plugins\-extras\-debug\fP
598 T}
599 _
600 T{
601 \fByum\-debug\-restore\fP
602 T} T{
603 dnf debug\-restore \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:debug\:.html>
604 T} T{
605 \fBdnf\-plugins\-extras\-debug\fP
606 T}
607 _
608 T{
609 \fByumdownloader\fP
610 T} T{
611 dnf download \%<https://\:dnf-plugins-core\:.readthedocs\:.io/\:en/\:latest/\:download\:.html>
612 T} T{
613 \fBdnf\-plugins\-core\fP
614 T}
615 .TE
616 .sp
617 Detailed table for \fBpackage\-cleanup\fP replacement:
618 .TS
619 box center;
620 l|l.
621 T{
622 \fBpackage\-cleanup \-\-dupes\fP
623 T} T{
624 \fBdnf repoquery \-\-duplicates\fP
625 T}
626 _
627 T{
628 \fBpackage\-cleanup \-\-leaves\fP
629 T} T{
630 \fBdnf repoquery \-\-unneeded\fP
631 T}
632 _
633 T{
634 \fBpackage\-cleanup \-\-orphans\fP
635 T} T{
636 \fBdnf repoquery \-\-extras\fP
637 T}
638 _
639 T{
640 \fBpackage\-cleanup \-\-problems\fP
641 T} T{
642 \fBdnf repoquery \-\-unsatisfied\fP
643 T}
644 _
645 T{
646 \fBpackage\-cleanup \-\-cleandupes\fP
647 T} T{
648 \fBdnf remove \-\-duplicates\fP
649 T}
650 _
651 T{
652 \fBpackage\-cleanup \-\-oldkernels\fP
653 T} T{
654 \fBdnf remove \-\-oldinstallonly\fP
655 T}
656 _
657 T{
658 \fBpackage\-cleanup \-\-oldkernels \-\-keep=2\fP
659 T} T{
660 \fBdnf remove $(dnf repoquery \-\-installonly \-\-latest\-limit=\-2)\fP
661 T}
662 .TE
663 .SH YUM-UPDATEONBOOT AND YUM-CRON
664 .sp
665 DNF does not have a direct replacement of yum\-updateonboot and yum\-cron commands.
666 However, the similar result can be achieved by \fBdnf automatic\fP command (see DNF Automatic \%<>).
667 .sp
668 You can either use the shortcut:
669 .INDENT 0.0
670 .INDENT 3.5
671 .sp
672 .EX
673 $ systemctl enable \-\-now dnf\-automatic\-install.timer
674 .EE
675 .UNINDENT
676 .UNINDENT
677 .sp
678 Or set \fBapply_updates\fP option of \fB/etc/dnf/automatic.conf\fP to True and use generic timer unit:
679 .INDENT 0.0
680 .INDENT 3.5
681 .sp
682 .EX
683 $ systemctl enable \-\-now dnf\-automatic.timer
684 .EE
685 .UNINDENT
686 .UNINDENT
687 .sp
688 The timer in both cases is activated 1 hour after the system was booted up and then repetitively once every 24 hours. There is also a random delay on these timers set to 5 minutes. These values can be tweaked via \fBdnf\-automatic*.timer\fP config files located in the \fB/usr/lib/systemd/system/\fP directory.
689 .SH UTILITIES THAT HAVE NOT BEEN PORTED YET
690 .sp
691 \fBrepo\-rss\fP,
692 \fBshow\-changed\-rco\fP,
693 \fBshow\-installed\fP,
694 \fBverifytree\fP,
695 \fByum\-groups\-manager\fP
696 .sp
697 Take a look at the FAQ \%<https://\:dnf\:.readthedocs\:.io/\:en/\:latest/\:user_faq\:.html> about YUM to DNF migration. Feel free to file an RFE \%<https://\:github\:.com/\:rpm-software-management/\:dnf/\:wiki/\:Bug-Reporting#\:new-feature-request> for missing functionality if you need it.
698 .SH Author
699 See AUTHORS in DNF source distribution.
700 .SH Copyright
701 2012-2020, Red Hat, Licensed under GPLv2+
702 .\" End of generated man page.