Ask Your Question

When will we update the deprecated command "yum" for Fedora compile and install? (I am happy to make the changes and submit for review)

asked 2015-07-23 11:27:25 -0500

PacketSpike gravatar image

When will we update the deprecated command "yum" for Fedora compile and installation scripts?

Make DNF (Dandified Yum)/Yum4 the new default packaging tool in F22.

Detailed Description

DNF was forked from Yum in January 2012 and available for experimenting in fedora since release 18. The project is now fully capable of replacing Yum in new Fedora installations. We want DNF to become the new default packaging tool in Fedora 22. This entails:

letting system administrators (including users who routinely manage their packages using the legacy Yum) perform all common packaging operations using DNF, with no or minimal and documented change to the command syntax, apart from replacing the command name. (done) providing implementation of Anaconda backend so system can be bootstrapped completely without using legacy Yum. (done) providing alternative to all Yum plugins from yum-utils (ongoing) providing alternative to all release engineering tools (repoquery, bodhi etc.) from yum-utils (ongoing) being ready/having the capacity to help out users with migration of their custom legacy plugins and extensions to DNF. The solid API documentation we provide is of great advantage here. (ongoing) In practice, the change implies:

Anaconda installs the system using the DNF backend (with no special switches) package 'dnf' is installed by default (referenced by the base comps groups) package 'dnf-yum' is installed by default. It obsoletes Yum and provides its own /usr/bin/yum, a short script that redirects to /usr/bin/dnf with an appropriate warning message that DNF is the preferred package manager now. Notice that upgrading F21 to F22 will not cause the compat package to be installed so will not disturb any upgrading users. Benefit to Fedora

A CLI package manager tool built on modern depsolving technology allowing for faster and less memory-intensive operation. Documented, solid Python API. C bindings for lower level libraries: hawkey for package querying and depsolving. PackageKit is already making use of hawkey. librepo for repo operations. PackageKit is already making use of librepo. libcomps for comps operations). Unlike Yum, DNF runs in both Python 2 and Python 3. Scope

This change will be completely transparent for users that use only the graphical package management tools. For anybody using the command line directly there will be some differences, but all the important operations are available with DNF, using the same CLI syntax.

Proposal owners: The majority of tasks on this change are completed. Some plugins and API calls still need to be added. The Anaconda payload implementation needs more testing, Fedora Test Day for this is pending. Other developers: We provide the paylaod implementation for Anaconda developers. Developers of other extensions and developers of plugins that are not part of yum-utils will have to update their code. Release engineering: Release engineering tools that are internal to the releng teams and not part of yum-utils will need modifications to migrate to the DNF API. Policies and guidelines: None at the moment. Upgrade/compatibility impact

In F22 we will release DNF as dnf-1.0.0. Yum will still be installable alongside ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-08-14 21:34:00 -0500

ahendrix gravatar image

This reads like a very long advertisement for DNF (and it appears to be pasted twice).

I'm not aware of very many public yum repositories of ROS pacakges, or of instructions that specifically instruct users to use yum when installing ROS. The only pages I've found on the wiki that look relevant and up to date are the source installation and the Fedora installation, which points to the source install instructions for all of the currently-maintained versions of ROS. The Fedora page is old and should probably be left as-is to support legacy users, but you are welcome to edit the Source installation page to provide an alternate set of instructions for DNF.

The other tool in the ROS ecosystem that will need to be aware of DNF is rosdep, and the rosdep changelog indicates that it was converted to use DNF in September of 2015.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2015-07-23 11:27:25 -0500

Seen: 12,316 times

Last updated: Aug 14 '16