dnf vs yum

Tim Lauridsen tim.lauridsen at gmail.com
Fri Oct 24 10:51:26 UTC 2014

On Fri Oct 24 2014 at 12:46:41 PM Rahul Sundaram <metherid at gmail.com> wrote:

> Hi
> On Fri, Oct 24, 2014 at 3:51 AM, Michael Simacek  wrote:
>> Mock-1.2 no longer depends on yum API and has been ported to use DNF.
>> So if you use the new version and set config_opts['package_manager']='dnf'
>> and also install dnf-plugins-core, you should be able to use it without
>> any problems.
>> But the dnf-yum (/usr/bin/yum being symlink to dnf) scenario is not
>> supported yet,
>> you have to explicitly tell it to use dnf, otherwise it won't work.
>> dnf and yum don't always behave the same and mock has to treat them a bit
>> differently. But the package itself still needs to depend on yum, because
>> even
>> if dnf-yum was supported, it doesn't pull in dnf-plugins-core package
>> which
>> contains builddep command.
> I don't quite understand that explanation.  For rawhide, why doesn't mock
> drop the dependency on yum and add a dependency on dnf *and*
> dnf-plugins-core?
Mock still defaults to yum, but supports dnf also using

So it makes sense to have a hard requirement on yum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20141024/1771040c/attachment.html>

More information about the devel mailing list