Description of problem:
Ocurred after doing 'dnf --enablerepo=fedora clean metadata'
Version-Release number of selected component:
cmdline: /usr/bin/python /bin/dnf update
Created attachment 715180 [details]
Created attachment 715181 [details]
Created attachment 715182 [details]
reproduced by running an installation of a package once, terminating it right after the packages is downloaded, corrupting the file and then running the operation again---it fails with the traceback from comment 1 during the download.
Targeted by commit 5ad96d2. The fix will be available with dnf-0.3.1.