Description of Problem: When using up2date to update, I got an uncaught PartialReadError() How Reproducible: Use up2date when up2date server fails :) Actual Results: File "/usr/sbin/up2date", line 1131, in ? main() File "/usr/sbin/up2date", line 388, in main sys.exit(batchRun(argObj.getLong("list"), pkgNames, fullUpdate)) File "/usr/sbin/up2date", line 1077, in batchRun up2date.getPackage(pkg, printPkg, printRetrieveHash) File "/usr/share/rhn/up2date_client/up2date.py", line 1120, in getPackage buffer = doCall(packageSource.getPackage, pkg, msgCallback, progressCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 400, in doCall ret = apply(method, args, kwargs) File "/usr/share/rhn/up2date_client/rpmSource.py", line 124, in getPackage package = source.getPackage(pkg, MsgCallback, progressCallback) File "/usr/share/rhn/up2date_client/rpmSource.py", line 557, in getPackage buffer = self._readFD(fd, size, filePath, progressCallback = progressCallback) File "/usr/share/rhn/up2date_client/rpmSource.py", line 509, in _readFD raise PartialReadError() Expected Results: Better error reporting
This should be fixed in version 2.7.61 or higher (already fixed in cvs) Those versions should be available soon.
closing bug.