Debian Codegraph @

upstream/debian-trixie/man8/yum2dnf.8

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