Red Hat Bugzilla – Bug 986237
downloading the updates repo hangs and errors out recently
Last modified: 2014-09-30 19:41:33 EDT
Tested with the latest librepo HEAD on my local F19 machine and with librepo-0.0.4 on a virtual F19.
The following first hangs then errors out with librepo.LibrepoException: (17, 'Bad checksum', None).
if __name__ == "__main__":
h = librepo.Handle()
h.destdir = DESTDIR
h.interruptible = True
# h.url = URL
h.repotype = librepo.LR_YUMREPO
h.mirrorlist = MIRROR
h.yumdlist = ["primary", "filelists", "prestodelta", "group_gz"]
# h.local = True
What is going on? If I use the regular fedora librepo it gets downloaded within a second. Please treat this high prio since if it is not isolated to my systems for some reason (?) all DNF users on f19 are getting hitten by it as we speak.
*** Bug 986419 has been marked as a duplicate of this bug. ***
Hi, I cannot reproduce the issue. I've tried:
* librepo v0.0.4 from f19
* librepo v0.0.5 from rawhide
* librepo HEAD from the git
I suspect that the cause could be a badly synchronized mirror and the "Bad checksum" error was legitimate.
What do to if this happens next time:
In current released versions of Librepo, there is no easy way to get detailed (debug) output. So the best what you can do is the report the issue to me (add comment to this bug, open the new one, ping me on irc, email, etc).
In the next version of librepo (probably the 0.0.6) there will be a detailed error messages + simple way to set a own debug handler to catch all librepo debug messages.
Closing this bug, because it was related to an ancient version of librepo.
Currently there is librepo 1.5.0 in f20 and 1.0.0 in f19.
This new versions have a much better error reporting capabilities and fixed a lot of, most likely, related bugs.