dnf failed to download repomd.xml from updates

Patrick O'Callaghan pocallaghan at gmail.com
Fri May 29 11:12:55 UTC 2015


On Fri, 2015-05-29 at 09:46 +0100, philip wrote:
> > I get the same even after "dnf clean all", and it happens with 
> update,
> > install, distro-sync, ...
> > 
> > poc
> 
> I get this error, and when I run with LIBREPO_DEBUG=1, I see a little 
> more information.
> 
> export LIBREPO_DEBUG=1
> dnf upgrade
> 
> the command fails after a few minutes with
> 
> Error: Failed to synchronize cache for repo 'updates-testing' from 'h
> ttp://mirrors.fedoraproject.org/metalink?repo=updates-testing
> -f22&arch=x86_64': Cannot download repomd.xml: Curl error (56): Failure when receiving data from the peer for 
> ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/repodata/repomd.xml 
> [response reading failed]
> 
> if I try curl from a terminal
> 
> curl -v ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fe
> dora/linux/updates/testing/22/x86_64/repodata/repomd.xml
> 
> the command "hangs", at the point it tries to switch to extended 
> passive mode. However if I disable espv as follows,
> 
> curl -v --disable-epsv ftp://ftp.mirrorservice.org/sites/dl.fedorapro
> ject.org/pub/fedora/linux/updates/testing/22/x86_64/repodata/repomd.x
> ml
> 
> then the file is transferred very quickly.
> 
> Could there be a firewall or otherwise in front of some mirrors that 
> are having trouble with 
> the EPSV mode that maybe affecting DNF's ability to download the 
> repodata?

No idea, but I'm reporting it to the BZ link already given and adding
debug information as requested inhttps://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#connection-issue

poc


More information about the users mailing list