crash during natty->natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-central
A bugreport on behalf of Rodrigo, the critical bit is this:
"""
self.
AttributeError: 'NoneType' object has no attribute 'byte_compile'
"""
The full output:
$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python-aptdaemon:
python-aptdaemon depends on python-apt (>= 0.7.96.1ubuntu9); however:
Version of python-apt on system is 0.7.95ubuntu2.
python-aptdaemon depends on python-defer; however:
Package python-defer is not installed.
dpkg: error processing python-aptdaemon (--configure):
dependency problems - leaving unconfigured
Setting up man-db (2.5.7-4) ...
Updating database of manual pages ...
dpkg: dependency problems prevent configuration of python-kde4:
python-kde4 depends on kdepim-runtime; however:
Package kdepim-runtime is not installed.
python-kde4 depends on libakonadi-kde4 (>= 4:4.5.90); however:
Package libakonadi-kde4 is not installed.
python-kde4 depends on libakonadi-kmime4 (>= 4:4.5.85a); however:
Package libakonadi-kmime4 is not installed.
python-kde4 depends on libkcmutils4 (>= 4:4.5.80); however:
Package libkcmutils4 is not installed.
python-kde4 depends on libkdecore5 (>= 4:4.5.90); however:
Version of libkdecore5 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkdeui5 (>= 4:4.5.90); however:
Version of libkdeui5 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkdnssd4 (>= 4:4.5.2-0ubuntu1); however:
Version of libkdnssd4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkemoticons4 (>= 4:4.5.2-0ubuntu1); however:
Package libkemoticons4 is not installed.
python-kde4 depends on libkfile4 (>= 4:4.5.80); however:
Version of libkfile4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkhtml5 (>= 4:4.5.85); however:
Version of libkhtml5 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkidletime4 (>= 4:4.5.2-0ubuntu1); however:
Package libkidletime4 is not installed.
python-kde4 depends on libkio5 (>= 4:4.5.90); however:
Version of libkio5 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libknewstuff2-4 (>= 4:4.5.2-0ubuntu1); however:
Version of libknewstuff2-4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libknewstuff3-4 (>= 4:4.5.80); however:
Version of libknewstuff3-4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkparts4 (>= 4:4.5.80); however:
Version of libkparts4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libkprintutils4 (>= 4:4.5.2-0ubuntu1); however:
Package libkprintutils4 is not installed.
python-kde4 depends on libkpty4 (>= 4:4.5.2-0ubuntu1); however:
Version of libkpty4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libktexteditor4 (>= 4:4.5.2-0ubuntu1); however:
Version of libktexteditor4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libnepomuk4 (>= 4:4.5.80); however:
Version of libnepomuk4 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libnepomukquery4a (>= 4:4.5.80); however:
Package libnepomukquery4a is not installed.
python-kde4 depends on libplasma3 (>= 4:4.5.90); however:
Version of libplasma3 on system is 4:4.4.3a-2ubuntu2.
python-kde4 depends on libsolid4 (>= 4:4.5.80); however:
Version of libsolid4 on system is 4:4.4.3a-2ubuntu2.
dpkg: error processing python-kde4 (--configure):
dependency problems - leaving unconfigured
Setting up python2.7-minimal (2.7.1-3) ...
Linking and byte-compiling packages for runtime python2.7...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
ignore_errors = self.options.ignore != None)
File "/usr/bin/
self.
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-
python-
Package python-aptdaemon is not configured yet.
dpkg: error processing python-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-minimal:
python-minimal depends on python2.7-minimal (>= 2.7.1-1~); however:
Package python2.7-minimal is not configured yet.
dpkg: error processing python-minimal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python:
python depends on python-minimal (= 2.7.1-0ubuntu4); however:
Package python-minimal is not configured yet.
dpkg: error processing python (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-apport:
python-apport depends on python (<< 2.8); however:
Package python is not configured yet.
python-apport depends on python (>= 2.6); however:
Package python is not configured yet.
dpkg: error processing python-apport (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-support:
python-support depends on python (>= 2.5); however:
Package python is not configured yet.
dpkg: error processing python-support (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
python2.7 depends on python2.7-minimal (= 2.7.1-3); however:
Package python2.7-minimal is not configured yet.
dpkg: error processing python2.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-fuse:
python-fuse depends on python (<< 2.8); however:
Package python is not configured yet.
python-fuse depends on python (>= 2.6); however:
Package python is not configured yet.
dpkg: error processing python-fuse (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-scour:
python-scour depends on python (>= 2.7.1-0ubuntu2); however:
Package python is not configured yet.
python-scour depends on python (<< 2.8); however:
Package python is not configured yet.
dpkg: error processing python-scour (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dbg:
python2.7-dbg depends on python2.7 (>= 2.7.1-3); however:
Package python2.7 is not configured yet.
dpkg: error processing python2.7-dbg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-
python-
Package python is not configured yet.
python-
Package python is not configured yet.
dpkg: error processing python-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7-dev:
python2.7-dev depends on python2.7 (= 2.7.1-3); however:
Package python2.7 is not configured yet.
dpkg: error processing python2.7-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-libxml2:
python-libxml2 depends on python (<< 2.8); however:
Package python is not configured yet.
python-libxml2 depends on python (>= 2.6); however:
Package python is not configured yet.
python-libxml2 depends on python-support (>= 0.90.0); however:
Package python-support is not configured yet.
dpkg: error processing python-libxml2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-
python-
Package python is not configured yet.
python-
Package python-support is not configured yet.
dpkg: error processing python-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython2.7:
libpython2.7 depends on python2.7 (= 2.7.1-3); however:
Package python2.7 is not configured yet.
dpkg: error processing libpython2.7 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-aptdaemon
python-kde4
python2.7-minimal
python-
python-minimal
python
python-apport
python-support
python2.7
python-fuse
python-scour
python2.7-dbg
python-
python2.7-dev
python-libxml2
python-
libpython2.7
Rodrigo worked around it by adding runtime = get_default_ runime( )
self.default_
before line 1095