Comment 5 for bug 225042

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The failure is:
=====
2008-04-30 21:33:22,986 WARNING dpkg interrupted, calling dpkg --configure -a
2008-04-30 21:35:04,130 ERROR not handled expection:
Traceback (most recent call last):

  File "/tmp/tmp.gdmsAK2610/hardy", line 60, in <module>
    app.run()

  File "/tmp/tmp.gdmsAK2610/DistUpgradeController.py", line 1550, in run
    self.fullUpgrade()

  File "/tmp/tmp.gdmsAK2610/DistUpgradeController.py", line 1425, in fullUpgrade
    if not self.prepare():

  File "/tmp/tmp.gdmsAK2610/DistUpgradeController.py", line 346, in prepare
    self.openCache()

  File "/tmp/tmp.gdmsAK2610/DistUpgradeController.py", line 209, in openCache
    self._view.getOpCacheProgress())

  File "/tmp/tmp.gdmsAK2610/DistUpgradeCache.py", line 51, in __init__
    raise CacheExceptionDpkgInterrupted, e

CacheExceptionDpkgInterrupted: E:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

2008-04-30 21:35:04,131 DEBUG running apport_crash()
2008-04-30 21:35:04,439 ERROR failed to import apport python module, can't report bug: No module named python_hook
=====

This usually happens when dpkg was interrupted while it was working. If it's still an issue then please open a terminal window and run the following command:
sudo dpkg --configure -a

Thanks.