On Tuesday, February 18, 2020 6:00:43 AM CET Sérgio Basto wrote:
> 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

I can not reproduce this.  With/without the `yum.rpm` installed on my F31,
the default epel-7 chroot just works.  Can you please check `rpm -V mock
mock-core-configs yum`?  Files in ~/.config/mock/ directory?

Perhaps you could attach `mock -r epel-7-x86_64 --debug-config`.

Feel free to ping me on IRC.

Pavel


_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to