On Tuesday, February 18, 2020 8:05:11 AM CET Sérgio Basto wrote:
After `mock -r epel-7-x86_64 --scrub=all` start working again ...
the
error "execv(/usr/bin/yum) failed blabla" was gone .
Glad to hear that, thanks for re-try.
Setting config_opts['package_manager'] = 'dnf' in
~/.config/mock.cfg
and after do `mock -r epel-7-x86_64 --scrub=all` , I got the error [1]
That is expected to fail, perhaps we could tweak the error to be more
understandable. By doing this you say that `dnf` needs to be installed to
bootstrap chroot (but that is not available on el7 usually).
But ok I don't need override package_manager .
Yes, it was needed with previous mock probably because the automatic
package manager detection was buggy.
Pavel
[1]
ImportError: No module named _conf