dnf replacing yum and dnf-yum

Kevin Fenzi kevin at scrye.com
Wed Apr 1 19:40:14 UTC 2015

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: 


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. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150401/75ed89a7/attachment.sig>

More information about the devel mailing list