{"id":3824,"date":"2022-12-20T17:20:11","date_gmt":"2022-12-20T20:20:11","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/yum2dnf-man8\/"},"modified":"2022-12-20T17:20:11","modified_gmt":"2022-12-20T20:20:11","slug":"yum2dnf-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/yum2dnf-man8\/","title":{"rendered":"YUM2DNF (man8)"},"content":{"rendered":"<h1 align=\"center\">YUM2DNF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#--SKIP-BROKEN\">&#8211;SKIP-BROKEN<\/a><br \/> <a href=\"#UPDATE AND UPGRADE COMMANDS ARE THE SAME\">UPDATE AND UPGRADE COMMANDS ARE THE SAME<\/a><br \/> <a href=\"#CLEAN_REQUIREMENTS_ON_REMOVE ON BY DEFAULT\">CLEAN_REQUIREMENTS_ON_REMOVE ON BY DEFAULT<\/a><br \/> <a href=\"#NO RESOLVEDEP COMMAND\">NO RESOLVEDEP COMMAND<\/a><br \/> <a href=\"#NO DEPLIST COMMAND\">NO DEPLIST COMMAND<\/a><br \/> <a href=\"#EXCLUDES AND REPO EXCLUDES APPLY TO ALL OPERATIONS\">EXCLUDES AND REPO EXCLUDES APPLY TO ALL OPERATIONS<\/a><br \/> <a href=\"#THE INCLUDE OPTION HAS BEEN REMOVED\">THE INCLUDE OPTION HAS BEEN REMOVED<\/a><br \/> <a href=\"#DNF PROVIDES \/BIN\/<FILE> IS NOT FULLY SUPPORTED&#8221;>DNF PROVIDES \/BIN\/<FILE> IS NOT FULLY SUPPORTED<\/a><br \/> <a href=\"#SKIP_IF_UNAVAILABLE COULD BE ENABLED BY DEFAULT\">SKIP_IF_UNAVAILABLE COULD BE ENABLED BY DEFAULT<\/a><br \/> <a href=\"#OVERWRITE_GROUPS DROPPED, COMPS FUNCTIONS ACTING AS IF ALWAYS DISABLED\">OVERWRITE_GROUPS DROPPED, COMPS FUNCTIONS ACTING AS IF ALWAYS DISABLED<\/a><br \/> <a href=\"#MIRRORLIST_EXPIRE DROPPED\">MIRRORLIST_EXPIRE DROPPED<\/a><br \/> <a href=\"#METALINK NOT RECOGNIZED IN THE MIRRORLIST REPO OPTION\">METALINK NOT RECOGNIZED IN THE MIRRORLIST REPO OPTION<\/a><br \/> <a href=\"#ALWAYSPROMPT DROPPED\">ALWAYSPROMPT DROPPED<\/a><br \/> <a href=\"#UPGRADE_REQUIREMENTS_ON_INSTALL DROPPED\">UPGRADE_REQUIREMENTS_ON_INSTALL DROPPED<\/a><br \/> <a href=\"#DNF HISTORY ROLLBACK CHECK DROPPED\">DNF HISTORY ROLLBACK CHECK DROPPED<\/a><br \/> <a href=\"#PACKAGES REPLACEMENT WITHOUT YUM SWAP\">PACKAGES REPLACEMENT WITHOUT YUM SWAP<\/a><br \/> <a href=\"#DEPENDENCY PROCESSING DETAILS ARE NOT SHOWN IN THE CLI\">DEPENDENCY PROCESSING DETAILS ARE NOT SHOWN IN THE CLI<\/a><br \/> <a href=\"#DNF PROVIDES COMPLIES WITH THE YUM DOCUMENTATION OF THE COMMAND\">DNF PROVIDES COMPLIES WITH THE YUM DOCUMENTATION OF THE COMMAND<\/a><br \/> <a href=\"#BANDWIDTH LIMITING\">BANDWIDTH LIMITING<\/a><br \/> <a href=\"#INSTALLONLYPKGS CONFIG OPTION\">INSTALLONLYPKGS CONFIG OPTION<\/a><br \/> <a href=\"#THE USAGE OF DELTA RPM FILES\">THE USAGE OF DELTA RPM FILES<\/a><br \/> <a href=\"#HANDLING .SRPM FILES AND NON-EXISTENT PACKAGES\">HANDLING .SRPM FILES AND NON-EXISTENT PACKAGES<\/a><br \/> <a href=\"#PROMOTING PACKAGE TO INSTALL TO A PACKAGE THAT OBSOLETES IT\">PROMOTING PACKAGE TO INSTALL TO A PACKAGE THAT OBSOLETES IT<\/a><br \/> <a href=\"#BEHAVIOR OF --INSTALLROOT OPTION\">BEHAVIOR OF &#8211;INSTALLROOT OPTION<\/a><br \/> <a href=\"#DIFFERENT PROMPT AFTER TRANSACTION TABLE\">DIFFERENT PROMPT AFTER TRANSACTION TABLE<\/a><br \/> <a href=\"#LIST COMMAND SHOWS ALL REPO ALTERNATIVES\">LIST COMMAND SHOWS ALL REPO ALTERNATIVES<\/a><br \/> <a href=\"#YUM-LANGPACKS SUBCOMMANDS HAVE BEEN REMOVED\">YUM-LANGPACKS SUBCOMMANDS HAVE BEEN REMOVED<\/a><br \/> <a href=\"#YUM-UPDATEONBOOT AND YUM-CRON\">YUM-UPDATEONBOOT AND YUM-CRON<\/a><br \/> <a href=\"#UTILITIES THAT HAVE NOT BEEN PORTED YET\">UTILITIES THAT HAVE NOT BEEN PORTED YET<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">yum2dnf \u2212 Changes in DNF compared to YUM<\/p>\n<h2>&#8211;SKIP-BROKEN <a name=\"--SKIP-BROKEN\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">For install command:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>\u2212\u2212skip\u2212broken<\/b> option is an alias for <b>\u2212\u2212setopt=strict=0<\/b>. Both options could be used with DNF to skip all unavailable packages or packages with broken dependencies given to DNF without raising an error causing the whole operation to fail. This behavior can be set as default in dnf.conf file. See strict conf option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For upgrade command:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The semantics that were supposed to trigger in YUM with <b>\u2212\u2212skip\u2212broken<\/b> are now set for plain <b>dnf update<\/b> as a default. There is no need to use <b>\u2212\u2212skip\u2212broken<\/b> with the <b>dnf upgrade<\/b> command. To use only the latest versions of packages in transactions, there is the <b>\u2212\u2212best<\/b> command line switch.<\/p>\n<h2>UPDATE AND UPGRADE COMMANDS ARE THE SAME <a name=\"UPDATE AND UPGRADE COMMANDS ARE THE SAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Invoking <b>dnf update<\/b> or <b>dnf upgrade<\/b>, in all their forms, has the same effect in DNF, with the latter being preferred. In YUM <b>yum upgrade<\/b> was exactly like <b>yum \u2212\u2212obsoletes update<\/b>.<\/p>\n<h2>CLEAN_REQUIREMENTS_ON_REMOVE ON BY DEFAULT <a name=\"CLEAN_REQUIREMENTS_ON_REMOVE ON BY DEFAULT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The clean_requirements_on_remove switch is on by default in DNF. It can thus be confusing to compare the &#8220;remove&#8221; operation results between DNF and YUM as by default DNF is often going to remove more packages.<\/p>\n<h2>NO RESOLVEDEP COMMAND <a name=\"NO RESOLVEDEP COMMAND\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The YUM version of this command is maintained for legacy reasons only. The user can just use <b>dnf provides<\/b> to find out what package provides a particular file.<\/p>\n<h2>NO DEPLIST COMMAND <a name=\"NO DEPLIST COMMAND\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">An alternative to the YUM <b>deplist<\/b> command to find out dependencies of a package is <b>dnf repoquery \u2212\u2212deplist<\/b> using repoquery command.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NOTE:<\/b><\/p>\n<p style=\"margin-left:15%;\">Alternatively there is a YUM compatibility support where <b>yum deplist<\/b> is alias for <b>dnf repoquery \u2212\u2212deplist<\/b> command<\/p>\n<h2>EXCLUDES AND REPO EXCLUDES APPLY TO ALL OPERATIONS <a name=\"EXCLUDES AND REPO EXCLUDES APPLY TO ALL OPERATIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">YUM only respects excludes during installs and upgrades. DNF extends this to all operations, among others erasing and listing. If you e.g. want to see a list of all installed <b>python\u2212f*<\/b> packages but not any of the Flask packages, the following will work:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf \u2212x '*flask*' list installed 'python\u2212f*'<\/pre>\n<h2>THE INCLUDE OPTION HAS BEEN REMOVED <a name=\"THE INCLUDE OPTION HAS BEEN REMOVED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Inclusion of other configuration files in the main configuration file is no longer supported.<\/p>\n<h2>DNF PROVIDES \/BIN\/<FILE> IS NOT FULLY SUPPORTED <a name=\"DNF PROVIDES \/BIN\/<FILE> IS NOT FULLY SUPPORTED&#8221;><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">After <i>UsrMove<\/i> there&#8217;s no directory <b>\/bin<\/b> on Fedora systems and no files get installed there, <b>\/bin<\/b> is only a symlink created by the <b>filesystem<\/b> package to point to <b>\/usr\/bin<\/b>. Resolving the symlinks to their real path would only give the user a false sense that this works, while in fact provides requests using globs such as:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf provides \/b*\/<file><\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">will fail still (as they do in YUM now). To find what provides a particular binary, use the actual path for binaries on Fedora:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf provides \/usr\/bin\/<file><\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Also see related Fedora bugzillas <i>982947<\/i> and <i>982664<\/i>.<\/p>\n<h2>SKIP_IF_UNAVAILABLE COULD BE ENABLED BY DEFAULT <a name=\"SKIP_IF_UNAVAILABLE COULD BE ENABLED BY DEFAULT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">In some distributions DNF is shipped with <b>skip_if_unavailable=True<\/b> in the DNF configuration file. The reason for the change is that third\u2212party repositories can often be unavailable. Without this setting in the relevant repository configuration file YUM immediately stops on a repository synchronization error, confusing and bothering the user.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the related <i>Fedora bug 984483<\/i>.<\/p>\n<h2>OVERWRITE_GROUPS DROPPED, COMPS FUNCTIONS ACTING AS IF ALWAYS DISABLED <a name=\"OVERWRITE_GROUPS DROPPED, COMPS FUNCTIONS ACTING AS IF ALWAYS DISABLED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This config option has been dropped. When DNF sees several groups with the same group ID it merges the groups&#8217; contents together.<\/p>\n<h2>MIRRORLIST_EXPIRE DROPPED <a name=\"MIRRORLIST_EXPIRE DROPPED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">To simplify things for the user, DNF uses <b>metadata_expire<\/b> for both expiring metadata and the mirrorlist file (which is a kind of metadata itself).<\/p>\n<h2>METALINK NOT RECOGNIZED IN THE MIRRORLIST REPO OPTION <a name=\"METALINK NOT RECOGNIZED IN THE MIRRORLIST REPO OPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following part of <b>yum.conf(5)<\/b> no longer applies for the <b>mirrorlist<\/b> option:<\/p>\n<p style=\"margin-left:15%;\">As a special hack if the mirrorlist URL contains the word &#8220;metalink&#8221; then the value of mirrorlist is copied to metalink (if metalink is not set).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The relevant repository configuration files have been fixed to respect this, see the related <i>Fedora bug 948788<\/i>.<\/p>\n<h2>ALWAYSPROMPT DROPPED <a name=\"ALWAYSPROMPT DROPPED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Unsupported to simplify the configuration.<\/p>\n<h2>UPGRADE_REQUIREMENTS_ON_INSTALL DROPPED <a name=\"UPGRADE_REQUIREMENTS_ON_INSTALL DROPPED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Dropping this config option with blurry semantics simplifies the configuration. DNF behaves as if this was disabled. If the user wanted to upgrade everything to the latest version she&#8217;d simply use <b>dnf upgrade<\/b>.<\/p>\n<h2>DNF HISTORY ROLLBACK CHECK DROPPED <a name=\"DNF HISTORY ROLLBACK CHECK DROPPED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Since DNF tolerates the use of other package managers, it is possible that not all changes to the RPMDB are stored in the history of transactions. Therefore, DNF does not fail if such a situation is encountered and thus the <b>force<\/b> option is not needed anymore.<\/p>\n<h2>PACKAGES REPLACEMENT WITHOUT YUM SWAP <a name=\"PACKAGES REPLACEMENT WITHOUT YUM SWAP\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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 <b>dnf shell<\/b> or use the <b>\u2212\u2212allowerasing<\/b> switch.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">E.g. say you want to replace <b>A<\/b> (providing <b>P<\/b>) with B (also providing <b>P<\/b>, conflicting with <b>A<\/b>) without deleting <b>C<\/b> (which requires <b>P<\/b>) in the process. Use:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf \u2212\u2212allowerasing install B<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">This command is equal to <b>yum swap A B<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF provides swap command but only <b>dnf swap A B<\/b> syntax is supported<\/p>\n<h2>DEPENDENCY PROCESSING DETAILS ARE NOT SHOWN IN THE CLI <a name=\"DEPENDENCY PROCESSING DETAILS ARE NOT SHOWN IN THE CLI\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">During its depsolving phase, YUM outputs lines similar to:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">\u2212\u2212\u2212> Package rubygem\u2212rhc.noarch 0:1.16.9\u22121.fc19 will be an update \u2212\u2212> Processing Dependency: rubygem\u2212net\u2212ssh\u2212multi >= 1.2.0 for package: rubygem\u2212rhc\u22121.16.9\u22121.fc19.noarch<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">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.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the related <i>Fedora bug 1044999<\/i>.<\/p>\n<h2>DNF PROVIDES COMPLIES WITH THE YUM DOCUMENTATION OF THE COMMAND <a name=\"DNF PROVIDES COMPLIES WITH THE YUM DOCUMENTATION OF THE COMMAND\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">When one executes:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">yum provides sandbox<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">YUM applies extra heuristics to determine what the user meant by <b>sandbox<\/b>, for instance it sequentially prepends entries from the <b>PATH<\/b> 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:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf provides \/usr\/bin\/sandbox<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">or even:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf provides '*\/sandbox'<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">to obtain similar results.<\/p>\n<h2>BANDWIDTH LIMITING <a name=\"BANDWIDTH LIMITING\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF supports the <b>throttle<\/b> and <b>bandwidth<\/b> options familiar from YUM. Contrary to YUM, when multiple downloads run simultaneously the total downloading speed is throttled. This was not possible in YUM since downloaders ran in different processes.<\/p>\n<h2>INSTALLONLYPKGS CONFIG OPTION <a name=\"INSTALLONLYPKGS CONFIG OPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Compared to YUM, DNF appends list values from the <b>installonlypkgs<\/b> config option to DNF defaults, where YUM overwrites the defaults by option values.<\/p>\n<h2>THE USAGE OF DELTA RPM FILES <a name=\"THE USAGE OF DELTA RPM FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The boolean <b>deltarpm<\/b> option controls whether delta RPM files are used. Compared to YUM, DNF does not support <b>deltarpm_percentage<\/b> and instead chooses some optimal value of DRPM\/RPM ratio to decide whether using deltarpm makes sense in the given case.<\/p>\n<h2>HANDLING .SRPM FILES AND NON-EXISTENT PACKAGES <a name=\"HANDLING .SRPM FILES AND NON-EXISTENT PACKAGES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF will terminate early with an error if a command is executed requesting an installing operation on a local <b>.srpm<\/b> file:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ dnf install fdn\u22120.4.17\u22121.fc20.src.rpm tour\u22124\u22126.noarch.rpm Error: Will not install a source rpm package (fdn\u22120.4.17\u22121.fc20.src).<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">The same applies for package specifications that do not match any available package.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">YUM will only issue a warning in this case and continue installing the &#8220;tour&#8221; 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.<\/p>\n<h2>PROMOTING PACKAGE TO INSTALL TO A PACKAGE THAT OBSOLETES IT <a name=\"PROMOTING PACKAGE TO INSTALL TO A PACKAGE THAT OBSOLETES IT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF will not magically replace a request for installing package <b>X<\/b> to installing package <b>Y<\/b> if <b>Y<\/b> obsoletes <b>X<\/b>. YUM does this if its <b>obsoletes<\/b> config option is enabled but the behavior is not properly documented and can be harmful.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">See the related <i>Fedora bug 1096506<\/i> and <i>guidelines for renaming and obsoleting packages in Fedora<\/i>.<\/p>\n<h2>BEHAVIOR OF &#8211;INSTALLROOT OPTION <a name=\"BEHAVIOR OF --INSTALLROOT OPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF offers more predictable behavior of installroot. DNF handles the path differently from the <b>\u2212\u2212config<\/b> command\u2212line option, where this path is always related to the host system (YUM combines this path with installroot). Reposdir is also handled slightly differently, if one path of the reposdirs exists inside of installroot, then repos are strictly taken from installroot (YUM tests each path from reposdir separately and use installroot path if existed). See the detailed description for \u2212\u2212installroot option.<\/p>\n<h2>DIFFERENT PROMPT AFTER TRANSACTION TABLE <a name=\"DIFFERENT PROMPT AFTER TRANSACTION TABLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF doesn&#8217;t provide download functionality after displaying transaction table. It only asks user whether to continue with transaction or not. If one wants to download packages, they can use the &#8216;download&#8217; command.<\/p>\n<h2>LIST COMMAND SHOWS ALL REPO ALTERNATIVES <a name=\"LIST COMMAND SHOWS ALL REPO ALTERNATIVES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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 possibility to choose preferred repo.<\/p>\n<h2>YUM-LANGPACKS SUBCOMMANDS HAVE BEEN REMOVED <a name=\"YUM-LANGPACKS SUBCOMMANDS HAVE BEEN REMOVED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Translations became part of core DNF and it is no longer necessary to manage individual language packs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Following sub\u2212commands were removed:<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p>langavailable<\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p>langinstall<\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p>langremove<\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p>langlist<\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p>\u2022<\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"20%\">\n<p>langinfo<\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p align=\"center\" style=\"margin-top: 1em\"><img decoding=\"async\" src=\"grohtml-1173981.png\" alt=\"Image grohtml-1173981.png\"><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Plugins that have not been ported yet:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>yum\u2212plugin\u2212filter\u2212data<\/b>, <b>yum\u2212plugin\u2212keys<\/b>, <b>yum\u2212plugin\u2212list\u2212data<\/b>, <b>yum\u2212plugin\u2212protectbase<\/b>, <b>yum\u2212plugin\u2212ps<\/b>, <b>yum\u2212plugin\u2212puppetverify<\/b>, <b>yum\u2212plugin\u2212refresh\u2212updatesd<\/b>, <b>yum\u2212plugin\u2212rpm\u2212warm\u2212cache<\/b>, <b>yum\u2212plugin\u2212upgrade\u2212helper<\/b>, <b>yum\u2212plugin\u2212verify<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Feel free to file an <i>RFE<\/i> for missing functionality if you need it.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">All ported YUM tools are now implemented as DNF plugins.<\/p>\n<p align=\"center\" style=\"margin-top: 1em\"><img decoding=\"async\" src=\"grohtml-1173982.png\" alt=\"Image grohtml-1173982.png\"><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Detailed table for <b>package\u2212cleanup<\/b> replacement:<\/p>\n<p align=\"center\" style=\"margin-top: 1em\"><img decoding=\"async\" src=\"grohtml-1173983.png\" alt=\"Image grohtml-1173983.png\"><\/p>\n<h2>YUM-UPDATEONBOOT AND YUM-CRON <a name=\"YUM-UPDATEONBOOT AND YUM-CRON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">DNF does not have a direct replacement of yum\u2212updateonboot and yum\u2212cron commands. However, the similar result can be achieved by <b>dnf automatic<\/b> command (see automatic).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">You can either use the shortcut:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ systemctl enable \u2212\u2212now dnf\u2212automatic\u2212install.timer<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Or set <b>apply_updates<\/b> option of <b>\/etc\/dnf\/automatic.conf<\/b> to True and use generic timer unit:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">$ systemctl enable \u2212\u2212now dnf\u2212automatic.timer<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">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 <b>dnf\u2212automatic*.timer<\/b> config files located in the <b>\/usr\/lib\/systemd\/system\/<\/b> directory.<\/p>\n<h2>UTILITIES THAT HAVE NOT BEEN PORTED YET <a name=\"UTILITIES THAT HAVE NOT BEEN PORTED YET\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>repo\u2212rss<\/b>, <b>show\u2212changed\u2212rco<\/b>, <b>show\u2212installed<\/b>, <b>verifytree<\/b>, <b>yum\u2212groups\u2212manager<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Take a look at the <i>FAQ<\/i> about YUM to DNF migration. Feel free to file an <i>RFE<\/i> for missing functionality if you need it.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">See AUTHORS in DNF source distribution.<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">2012-2020, Red Hat, Licensed under GPLv2+<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  yum2dnf \u2212 Changes in DNF compared to YUM <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,920],"class_list":["post-3824","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-yum2dnf"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3824"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3824\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}