dnf failed to download repomd.xml from updates

philip philip at satchel.scot
Fri May 29 08:46:57 UTC 2015


> on Thu, 2015-05-28 at 08:25 -0400, Radek Holy wrote:
> > 
> > -----
Original Message -----
> > > From: "jd1008" <jd1008 at xxxxxxxxx>
> > > To: "Fedora
Community Users Support" <users at xxxxxxxxxxxxxxxxxxxxxxx
> > > >
> > > Sent: Thursday, May 28, 2015 12:11:34 AM
> > > Subject: dnf failed to download repomd.xml from updates
> > > 
> > > # dnf distro-sync
> > > Fedora 22 - x86_64 3.1 MB/s |  41 MB     00:13
> > > RPM Fusion for Fedora 22 - Free -
> > > Updates                                               1.1 kB/s | 
> > > 399
> > > B     00:00
> > > RPM Fusion for Fedora 22 - Nonfree -
> > > Updates                                            2.8 kB/s | 399 
> > >  B
> > > 00:00
> > > RPM Fusion for Fedora 22 -
> > > Free                                                         955 
> > > kB/s |
> > > 551 kB     00:00
> > > Error: Failed to synchronize cache for repo 'updates' from
> > > 'https://mirrors.fedoraproject.org/metalink?repo=updates-released
> > > -f22&arch=x86_64':
> > > Cannot download repomd.xml: Curl error (56): Failure when receiving 
> > > data
> > > from the peer for
> > > ftp://mirror.lstn.net/fedora/updates/22/x86_64/repodata/repomd.xml
> > > [response reading failed]
> > 
> > I guess that this is the same as 
> > https://bugzilla.redhat.com/show_bug.cgi?id=1220269 even though it 
> > happened at another time.
> 
> I'm getting repeated failures of this type:
> 
> Failure when receiving data from the peer for ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/development/22/x86_64/os/Packages/k/kde-l10n-14.12.3-6.fc22.noarch.rpm [response reading failed]
> 
> 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 'http://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/fedora/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.fedoraproject.org/pub/fedora/linux/updates/testing/22/x86_64/repodata/repomd.xml

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?

--philip



More information about the users mailing list