#2666 assigned defect

RSB docs yum on way out .. use dnf

Reported by: Joel Sherrill Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: tool/rsb Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

This ticket is a note that rtbf64a which is running Fedora 22 gave a warning that yum is being replaced with a tool named dnf (do not find?). The RSB doc will have to be updated to have the development environment install command once we figure out what that is.

This applies to all versions of the RSB docs.

Change History (4)

comment:1 Changed on Mar 19, 2016 at 8:17:16 PM by Joel Sherrill

This article sheds more light.

https://www.linux.com/learn/tutorials/838176-what-you-need-to-know-about-fedoras-switch-from-yum-to-dnf

From our perspective a minor documentation issue. But it does make you wonder about stable interfaces. Do we do this to our users? Wipe out over a decade of sysadmin experience with an interface?

comment:2 Changed on Mar 19, 2016 at 8:34:44 PM by Chris Johns

Milestone: 4.114.12
Version: 4.104.12

The RSB is python 2 and 3 clean. I am pleased I did that change.

I have moved this ticket to 4.12. Any doco changes can be back ported when ready.

comment:3 Changed on Mar 20, 2016 at 4:27:38 PM by Joel Sherrill

Looks like for installation purposes "dnf install" works just like "yum install". Based on the article I linked above, there are differences but the most common use case appears to be the same.

So this should be nothing more than adding a sentence like the following to the Fedora specific section:

NOTE: In Fedora 22 and above, the yum command has been deprecated in favor of the dnf command. Use "dnf install ..." rather than "yum install ..."

And at some point in the future, we will have to address the CentOS/RHEL section and when they obsolete a yum wrapper, we will have to flip from yum first with a note to dnf first with a note for older Fedora systems. CentOS/RHEL will have to treat versions with yum as equals to versions with dnf due to the longevity.

Or we could just start now, and say ... On Fedora 22 and above, do this... and on Fedora 21 and below do this... Later copy that pattern to CentOS/RHEL if version 8 uses dnf.

comment:4 Changed on Feb 15, 2017 at 2:20:42 PM by Sebastian Huber

Milestone: 4.12Indefinite
Owner: set to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.