Created attachment 876789 [details]
full output from the failed "dnf update"
Description of problem:
I received a traceback when downloading packages after encountering multiple mirror errors:
[MIRROR] mesa-filesystem-10.0.4-1.20140312.fc20.x86_64.rpm: Status code: 404 for http://mirror.hmc.edu/fedora/linux/updates/testing/20/x86_64/mesa-filesystem-10.0.4-1.20140312.fc20.x86_64.rpm
[MIRROR] mesa-libEGL-10.0.4-1.20140312.fc20.x86_64.rpm: Status code: 404 for http://mirror.hmc.edu/fedora/linux/updates/testing/20/x86_64/mesa-libEGL-10.0.4-1.20140312.fc20.x86_64.rpm
[MIRROR] mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm: Status code: 404 for http://mirror.hmc.edu/fedora/linux/updates/testing/20/x86_64/mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm
[MIRROR] mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm: Curl error: Failure when receiving data from the peer for ftp://lug.mtu.edu/fedora/linux/updates/testing/20/x86_64/mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm
[FAILED] mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm: Curl error: Failure when receiving data from the peer for ftp://lug.mtu.edu/fedora/linux/updates/testing/20/x86_64/mesa-dri-drivers-10.0.4-1.20140312.fc20.x86_64.rpm
Traceback (most recent call last):0140312.fc20.x86_64.rpm 82% [=====================================================================- ] 4.7 MB/s | 122 MB 00:05 ETA
File "/bin/dnf", line 35, in <module>
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 242, in user_main
errcode = main(args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 156, in _main
return_code, resultmsgs = base.do_transaction()
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 215, in do_transaction
specific = dnf.cli.format.indent_block(str(e))
File "/usr/lib/python2.7/site-packages/dnf/exceptions.py", line 91, in __str__
File "/usr/lib/python2.7/site-packages/dnf/exceptions.py", line 84, in errmap2str
for key in errmap:
TypeError: '_DownloadErrors' object is not iterable
Version-Release number of selected component (if applicable):
It happened only once. I retried the dnf update operation and it completed successfully then.
Steps to Reproduce:
1. dnf update
2. have bad luck with stale metadata or stale mirrors (?)
No tracebacks. At worst a human readable error is printed. Though I'm not sure why I'm having so many 404 errors in the first place. Maybe that's a bug of its own.
I'm attaching the complete terminal output.
Michael, I will look at this, thanks for reporting.
In my case it happened just before dnf started to download packages.
The next try succeeded without any problems.
Is this ok [y/N]: y
Traceback (most recent call last):
<same traceback as in comment #0>
Moving to Tim who got a patch.
Tim, I merged your fix as 87a0b0a, thank you!
*** Bug 1079290 has been marked as a duplicate of this bug. ***
dnf-0.4.19-1.fc20 has been submitted as an update for Fedora 20.
dnf-0.4.19-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.