Description of problem:
up2date hangs after failed CRC check
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install FC2 test2
2. run up2date-config
3. run up2date
4. channel fedora-core-rawhide, >Forward
5. don't select any skipped pkg (kernel updates), >Forward
6. select all available updates, >Forward
(size is 0 kB for all packages, total size is 83 kB ???)
After a while progress dialog hangs with
"Testing package set / solving RPM inter-dependencies"
Additional info: konsole output
[root@deepthought root]# up2date &
[root@deepthought root]# http://fedora.redhat.
using mirror: http://download.fedora.redhat.
integer argument expected, got float
info = self.get_selection_info (event.x, event.y)
Traceback (most recent call last):
File "/usr/share/rhn/up2date_client/gui.py", line 1671, in
ret = self.__packagePageDryRun()
File "/usr/share/rhn/up2date_client/gui.py", line 1599, in
File "/usr/share/rhn/up2date_client/up2date.py", line 387, in
ret = depsolve.solvedep()
File "/usr/share/rhn/up2date_client/depSolver.py", line 716, in
ret = self.process_deps(deps)
File "/usr/share/rhn/up2date_client/depSolver.py", line 683, in
changed = self.__dependencies(dependencies)
File "/usr/share/rhn/up2date_client/depSolver.py", line 475, in
refreshCallback = self.refreshCallback)
File "/usr/share/rhn/up2date_client/depSolver.py", line 93, in
ret = source.solveDep(unknowns, availList, refreshCallback)
py", line 40, in solveDep
py", line 235, in getSolutions
hdr = self.getHeader(pkg)
py", line 217, in getHeader
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 31, in
return self.handlers[channel['type']].getHeader(pkg, msgCallback,
File "/usr/share/rhn/up2date_client/rpmSource.py", line 210, in
header = source.getHeader(pkg, progressCallback =
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line
93, in getHeader
hdrBuf = fh.read()
File "/usr/lib/python2.3/gzip.py", line 217, in read
File "/usr/lib/python2.3/gzip.py", line 272, in _read
File "/usr/lib/python2.3/gzip.py", line 308, in _read_eof
raise IOError, "CRC check failed"
IOError: CRC check failed
Incomplete reads from an overloaded server.
At some point, all the networking related code will
be rewritten to expect the servers to server up garbage
most of the time and try to cope. The current code
naively assumes that downloads will finish, the content
lenghts will be correct, connections wont be randomly
shut down, and that the file contents will be okay.
At some point in the future, a more robust version
of the network related code will land.
*** Bug 116749 has been marked as a duplicate of this bug. ***
*** Bug 116658 has been marked as a duplicate of this bug. ***
Note that FC2 is no longer supported even by Fedora Legacy. Also, up2date has
been replaced by pirut and pup since FC5. FC3 and FC4 are supported by Fedora
Legacy for security issues only. If this still occurs on FC3 or FC4 and is a
security issue, please reopen and assign to that version and Fedora Legacy. If
it occurs on RHEL 3 or 4, please reassign or refile against that product.
The codebase for pirut and pup is quite different, so existing bugs do not
apply, but please continue testing them on the still supported versions of
Fedora Core and file bugs as necessary.