From: "Kevin Fenzi" <kevin(a)scrye.com>
There's some confusion around this, so I thought I would post to try
and clear up things. In the event I am wrong on any of the below, please
do feel free to correct me. ;)
In the past the proposal was to have a yum-dnf package that provided
/usr/bin/yum, called dnf and conflicted with the yum package. I was
against that plan, but I think the one we settled on is worth doing.
It's somewhat of a middle ground between "yum is gone right now,
deal with it" and "you can keep using yum forever".
For f22 (and rawhide):
* dnf is installed by default. By that I mean it is in the 'core' group
in comps.
* dnf-yum is installed by default. By that I mean it is in the 'core'
group in comps next to dnf.
* yum is installed if something that depends on yum pulls it in or say
a user installs it manually.
* yum requires dnf-yum. So, if you install yum manually you will also
pull in dnf-yum (and the dnf plugin that handles history migrate).
* When you run 'yum' you get:
% sudo yum list foobar
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run 'dnf migrate'
Redirecting to '/usr/bin/dnf list foobar'
...then the ouput from dnf list foobar...
* If you wish to still use yum, the yum package provides now
a /usr/bin/yum-deprecated command that is the old yum
command renamed. It also has the notice message as above
on it.
* If you are using the yum python bindings directly, that will continue
to work if you have the yum package installed.
Note that this landed before Beta freeze, but there were some issues
with the initial package doing this. There is an update available:
https://admin.fedoraproject.org/updates/yum-3.4.3-505.fc22
I think this helps those users who read any of the docs out there
that say to 'yum install foo' at the cost of those people who need
some specific command line behavior from yum. The second group
is much better positioned to use yum-deprecated or know whats
going on than the first group.
Exactly, thanks for writing this, Kevin.
All man pages / warnings were updated according to these changes so there
should be no harm / confusion during yum to DNF transition.
BTW new migration plugin [1] was created to import transactions, installed
packages and group metadata from yum to DNF.
[1]