edoardo:~ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python-dev:
python-dev depends on python (= 2.7.9-1); however:
Version of python on system is 2.7.8-1.
dpkg: error processing package python-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-all-dbg:
python-all-dbg depends on python (= 2.7.9-1); however:
Version of python on system is 2.7.8-1.
dpkg: error processing package python-all-dbg (--configure):
dependency problems - leaving unconfigured
Setting up python-minimal (2.7.9-1) ...
dpkg: error processing package python-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-all-dev:
python-all-dev depends on python (= 2.7.9-1); however:
Version of python on system is 2.7.8-1.
python-all-dev depends on python-dev (= 2.7.9-1); however:
Package python-dev is not configured yet.
dpkg: error processing package python-all-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-dbg:
python-dbg depends on python (= 2.7.9-1); however:
Version of python on system is 2.7.8-1.
dpkg: error processing package python-dbg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-all:
python-all depends on python (= 2.7.9-1); however:
Version of python on system is 2.7.8-1.
dpkg: error processing package python-all (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libboost-python1.55-dev:
libboost-python1.55-dev depends on python-dev; however:
Package python-dev is not configured yet.
dpkg: error processing package libboost-python1.55-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libboost-python-dev:
libboost-python-dev depends on libboost-python1.55-dev; however:
Package libboost-python1.55-dev is not configured yet.
dpkg: error processing package libboost-python-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-dev
python-all-dbg
python-minimal
python-all-dev
python-dbg
python-all
libboost-python1.55-dev
libboost-python-dev