PackageKit dies with a div-0 error while installing some rpms: Error Type: <type 'exceptions.ZeroDivisionError'> Error Value: long division or modulo by zero File : /usr/lib/python2.6/site-packages/yum/rpmtrans.py, line 370, in callback self._instProgress( bytes, total, h ) File : /usr/lib/python2.6/site-packages/yum/rpmtrans.py, line 454, in _instProgress self.complete_actions, self.total_actions) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2664, in event val = (te_current*100L)/te_total --- This was while installing mjpegtools-libs-1.9.0-0.6.rc5.fc10 from the rpmfusion-free-rawhide repo and also occurs with jakarta-commons-el- javadoc-1.0-9.4.fc10 in rawhide
commit f27e7974bfe9bf45c093d8bfe10c83f635192816 Author: Richard Hughes <richard> Date: Wed Apr 15 08:37:24 2009 +0100 bugfix: check the subtransaction and transaction totals are not zero before using them. Fixes a crash on ppc in rh#495849