On Wed, 2020-02-12 at 13:15 +0100, Miroslav Suchý wrote:
> Dne 11. 02. 20 v 13:48 Sérgio Basto napsal(a):
> > config_opts['package_manager'] = 'dnf'
> 
> I am able to reproduce now. This line is definitelly wrong. It
> overrides the
>   config_opts['package_manager'] = 'yum'
> in epel conf.
> 
> Can you try to put into
>   /etc/mock/templates/epel-7.tpl
> the line:
>   config_opts['bootstrap_chroot_setup_cmd'] = 'install @buildsys-
> build yum'
> This fixed it for me.
> 
> The other option is to use
>   config_opts['use_bootstrap_image'] = True

I removed my ~/.config/mock.cfg and running [1] ends with [2] , when I
have yum as a symlink [3] , I testing with F31 out of the box ...
Anyway I used dnf for a long more than one year without any issue thatI 
remember  


[1]
mock -r epel-7-x86_64   mock-rpmfusion-free-32.0-1.fc33.src.rpm  

[2]
execv(/usr/bin/yum) failed: No such file or directory

[3]
ll /usr/bin/yum 
lrwxrwxrwx 1 root root 5 jan 15 13:59 /usr/bin/yum -> dnf-3

-- 
Sérgio M. B.
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/buildsys@lists.fedoraproject.org

Reply via email to