DevHeads.net

Problem with docker image for fedora:29

Comments

Re: Problem with docker image for fedora:29

By Irina Boverman at 05/02/2019 - 11:30

and this:
dnf install -y --allowerasing git zip unzip python krb5-workstation
java-1.8.0-openjdk java-1.8.0-openjdk-devel authconfig expect python3
python3-requests python3-websockets pycurl which
Fedora 29 - x86_64 -
Updates 0.0 B/s |
0 B 00:56
Failed to synchronize cache for repo 'updates'
Error: Failed to synchronize cache for repo 'updates'

Re: Problem with docker image for fedora:29

By Dridi Boukelmoune at 05/04/2019 - 09:23

On Thu, May 2, 2019 at 5:31 PM Irina Boverman < ... at redhat dot com> wrote:
DNF currently doesn't retry when a download fails:

<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1643281" title="https://bugzilla.redhat.com/show_bug.cgi?id=1643281">https://bugzilla.redhat.com/show_bug.cgi?id=1643281</a>

In my case it's often because there is no route to IPv6 hosts when I'm
on my IPv4-only mobile network. I can work around that from the dnf
command line but not always (eg. mock) and since we can't drop-in DNF
configuration I'm somewhat reluctant to touch the main dnf.conf and
possibly miss new defaults when I upgrade (I know RPM allows me to see
what changed but I'd rather not have to remember).

Try adding the -v option to see what's failing to synchronize:

dnf -v install -y ...

Dridi