dnf vs yum

Rahul Sundaram metherid at gmail.com
Fri Oct 24 10:46:15 UTC 2014


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?

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


More information about the devel mailing list