Preparing to unpack .../python-apt_1.1.0~beta1build1_amd64.deb ... Unpacking python-apt (1.1.0~beta1build1) ... Setting up python-sip (4.17+dfsg-1build1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' dpkg: error processing package python-sip (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-qt4: python-qt4 depends on sip-api-11.2; however: Package sip-api-11.2 is not installed. Package python-sip which provides sip-api-11.2 is not configured yet. dpkg: error processing package python-qt4 (--configure): dependency problems - leaving unconfigured Setting up python-apt (1.1.0~beta1build1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' dpkg: error processing package python-apt (--configure): subprocess installed post-installation script returned error exit status 1