On 2018-03-09 17:47, Florian Weimer wrote:
I'm trying this, on a relatively up-to-date Fedora 27 machine
(mock-1.4.9-1.fc27.noarch):
mock -r fedora-28-x86_64 --init
and get:
Start: dnf install
Error: Failed to synchronize cache for repo 'updates'
WARNING: Machine 00b000ffcd4543ddbe52926cee6d50d5 still running. Killing...
ERROR: Command failed:
# /usr/bin/dnf --installroot /var/lib/mock/fedora-28-x86_64/root/
--releasever 28 --disableplugin=local --setopt=deltarpm=False install
@buildsys-build
Error: Failed to synchronize cache for repo 'updates'
And that's it. Adding -vv doesn't provide more information, e.g. which
URL download is failing.
I tried --dnf-cmd, but the -vv for that is still processed by mock only,
it seems.
Any suggestions?
The init step doesn't take dnf arguments, and --dnf-cmd executes the
init step first (which fails). You can increase the dnf verbosity level
in the configuration, e.g. change the debuglevel option in main section
of "yum.conf" option of /etc/mock/fedora-28-x86_64.cfg
Michael
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx