I am pleased to announce you that DNF team updated main wiki pages on fedoraproject.org to be relevant and up-to-date for DNF (Yum procedures are still described there but could be outdated). Moreover in System Administrators Guide for F22 and up on docs.fedoraproject.org, yum commands were replaced with DNF command alternatives.
If you find wiki page, which you consider as crucial and targets yum only, report it or rewrite it by yourself. Thanks.
New release of DNF stack (dnf, dnf-plugins-core, dnf-plugins-extras, hawkey and libsolv) is going to Fedora 21, 22, 23 and rawhide. Most of the fixes happened under the hood in DNF libraries. The emphasis was on stability and making smooth system upgrades. For more information take a look at release notes.
The new release of DNF and DNF-PLUGINS-CORE is coming to Fedora stable repositories. The `–downloadonly` option supported in yum is now available in DNF and repoquery from DNF-PLUGINS-CORE has extended it’s functionality of reverse RPM tag queries (`–what*`) for glob patterns. Aside from that nearly 20 bug fixes have been made in this DNF stack release. For further details look at DNF and DNF plugins release notes.
Good News everyone,
after another 3 weeks, new versions of DNF and DNF-PLUGINS-CORE have been released. DNF 1.1.1 brings mark command feature while DNF-PLUGINS-CORE adds 4 new filters from “dnf list” command and extending functionality of `–arch` and `–tree` switches. Additionally around 15 bugs have been fixed.
For more detailed information about the releases see DNF and DNF plugins release notes.
Another crucial release of DNF is out with a lot of new features and over 20 bug fixes.
Basic control mechanism for weak dependencies was added. Now you are able to query for all weak dependencies forward and backward way in repoquery and allow/disallow installing weak dependencies through `install_weak_deps` DNF configuration option.
Moreover with all DNF stack you will be able to take advantage of rich dependencies in F23 along with newly added MIPS architecture support.
Although DNF team encourages users to “do the things in the right (DNF) way”, we still listen to community and implement the most requested features, the DNF is missing from yum. I am talking about `–skip-broken` in install command. To install the biggest given set of packages without raising error, when all dependencies cannot be satisfied, could be achieved by setting `strict` DNF configuration option.
More information can be found in DNF and DNF plugins release notes.
Enjoy this release and look forward to the next version.
Finally there’s the new release of DNF which fixes the bugs which were highly demanded from Fedora community (former yum users). When a transaction is not successfully finished DNF preserves downloaded packages until the next successful transaction. The resolution configuration hints are printed to the output and user is notified which packages were skipped during update in case there are conflicts. The new –repofrompath switch was added and many more.
The new release brings fixes of the most occurred errors in Fedora 22. Moreover adds SSL support in repository configuration and random sleep dnf-automatic feature. Read more in 1.0.1 release notes on DNF documentation page.
Do you wonder why you don’t have yum package installed on the Fedora 22 clean installation and why you get warnings when calling /usr/bin/yum executable or any yum-util plugin about deprecation of Yum? You see right, Yum is gone. Literally. And DNF is the new default Fedora package manager.
DNF is fork of Yum with the state-of-art SAT-based dependency solver and was supposed to replace Yum in Fedora 22. Now with the release of DNF version 1.0 it is the time to fulfill this destiny. This radical change was inevitable. Yum would not survive the “Python 3 as default” Fedora initiative meanwhile DNF is able to run on Python 2 and Python 3. Command line interface was preserved when it made logical sense of command semantic. Fortunately DNF Python API is completely different from Yum. All known incompatibilities between these two projects are documented. In Fedora 22 Core is DNF only and Yum is officially considered dead project. If anyone wants to download Yum she or he can. The package is still called the same and Python API remains for the time being. Just the yum executable file was renamed to yum-deprecated, and yum calls from command line are redirected to DNF. This way you can maintain both Yum and DNF on the system at the same time.
The reason of initiating DNF project was because of the biggest three pitfalls of Yum: undocumented API, broken dependency solving algorithm and inability to refactor internal functions. The last mentioned issue is connected with the lack of documentation. Yum plugins are using any method from Yum code base thus any change there would cause the sudden crash of the Yum utility. The DNF aim was to avoid mistakes made in Yum. From the start all exposed API functions were properly documented. The tests were included with almost every new commit. No quick and dirty hacks are allowed. The project is directed by agile development – the features that have the greatest impact on users are operatively implemented with higher priority.
Nowadays DNF team is working on porting the rest of popular plugins from Yum to DNF and improving the user experience. To make the switch for you a little easier we have implemented DNF migration plugin for importing installed packages, groups and transaction metadata from Yum to the new Fedora package manager. Happy transition and enjoy the DNF ride!
Jan Silhan, by DNF team
The DNF 1.0 version was released, being considered as stable and ready to be the main command line package manager in Fedora 22 and later. Along with a many bug fixes, the DNF stack release adds HTTP authentication support, enhances repoquery and builddep plugin and more. For more information look at release notes of DNF and DNF-PLUGINS-CORE.
Good news, everyone. New version of DNF and DNF-PLUGINS-CORE was built for F22 and F23. The documentation of yum and DNF differences was extended by yum plugin alternatives part and erase command was deprecated in favor of remove command name. DNF is getting more and more stable with 20 bug fixes while DNF-PLUGINS-CORE 0.1.6 newly adds Config manager.
With regard to packaging changes, DNF is running on Python 3 from F23 and dnf-yum compatible subpackage does not conflict with yum anymore. Read more on release notes of DNF and plugins.