Re: dnf vs yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> From: "Rahul Sundaram" <metherid@xxxxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, October 6, 2014 10:00:54 AM
> Subject: Re: dnf vs yum
> 
> Hi
> 
> On Mon, Oct 6, 2014 at 3:52 AM, Marcin Juszkiewicz wrote:
> 
> 
> Too bad that it does not also say that it provides yum ;(
> 
> 09:52 root@pinkiepie-rawhide:mnt$ dnf install dnf-yum mock
> Error: package mock-1.1.41-3.fc22.noarch requires yum >= 2.4, but none
> of the providers can be installed
> 
> Because it doesn't provide yum. It only provides a command line api. Tools
> that depend on the yum API including mock won't work with dnf-yum. They
> actually need to be ported over just like yumex-dnf has.

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.

Michael Simacek

> 
> Rahul
> 
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux