DNF 2.0 is not entirely compatible with DNF 1.x

Oct 4, 2016 00:50 GMT  ·  By

On October 3, 2016, DNF developer Jan Šilhan proudly announced the release of the DNF 2.0.0 package manager for Fedora Rawhide, the development version of the Fedora Linux operating system.

DNF 2.0.0 is a major update of the default package management system used in the Red Hat-based Fedora distribution, but it doesn't look like it landed in the stable Fedora 25 version just yet, most probably because of the incompatibilities with the DNF 1.x series. Therefore, DNF 2.0.0 is now available in Fedora Rawhide.

"The next major version release of DNF brings many user experience improvements such as more understandable dependency problem reporting messages, weak dependencies shown in transaction summary, more intuitive help usage invoking and others," says Jan Šilhan in the release announcement.

Over 60 bugs reported by users since DNF 1.1.10, the last maintenance update to the DNF 1.x branch, have been fixed in DNF 2.0.0, whose development cycle was mostly focus on addressing various of the annoying YUM incompatibilities, such as treating yum configuration options like "exclude," "include" and "includepkgs" the same.

Among other noteworthy changes implemented in DNF 2.0.0, we can notice that the repoquery plugin has been integrated into DNF. In related news, the DNF development team also announced the availability of the Release Candidate snapshot of the DNF-PLUGINS-CORE 1.0.0 package, which will need to be changed to the new DNF argument parser.

We recommend that you check out the release notes of DNF 2.0.0 and DNF-PLUGINS-CORE 1.0.0 Release Candidate, and if you're using Fedora Rawhide, install the new versions to give them a try. Please also be aware of the list of incompatible changes between DNF 1.x and DNF 2.x.