python-glance fails to install during postinst: update-python-modules: not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Originally hit this trying to build a package in a chroot which depends on python-glance as a build depend, but coincidentally this is also a new issue on EC2 as cloud images no longer have python-support installed by default.
Selecting previously unselected package python-webob.
Unpacking python-webob (from .../python-
Selecting previously unselected package python-glance.
Unpacking python-glance (from .../python-
Processing triggers for man-db ...
Setting up python-amqplib (1.0.0+ds-1) ...
Setting up python-anyjson (0.3.1-1) ...
Setting up python-argparse (1.2.1-1) ...
Setting up python-formencode (1.2.4-2ubuntu1) ...
Setting up python-kombu (1.4.3-1) ...
Setting up python-openid (2.2.5-3ubuntu1) ...
Setting up python-paste (1.7.5.1-4ubuntu1) ...
Setting up python-pastedeploy (1.5.0-2) ...
Setting up python-setuptools (0.6.24-1ubuntu1) ...
Setting up python-pastescript (1.7.5-1) ...
Setting up python-scgi (1.13-1ubuntu1) ...
Setting up python-webob (1.1.1-1) ...
Setting up python-glance (2012.1~
/var/lib/
dpkg: error processing python-glance (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
python-glance
E: Sub-process /usr/bin/dpkg returned an error code (1)
Related branches
- Alex Muntada (community): Approve
-
Diff: 46 lines (+10/-13)3 files modifieddebian/changelog (+9/-0)
debian/control (+1/-1)
debian/python-glance.postinst (+0/-12)
- Alex Muntada (community): Approve
-
Diff: 31 lines (+7/-12)2 files modifieddebian/changelog (+7/-0)
debian/python-nova.postinst (+0/-12)
- Jay Pipes (community): Approve
- OpenStack Ubuntu packagers: Pending requested
-
Diff: 31 lines (+4/-12)2 files modifieddebian/changelog (+4/-0)
debian/python-nova.postinst (+0/-12)
- Jay Pipes (community): Approve
- OpenStack Ubuntu packagers: Pending requested
-
Diff: 44 lines (+5/-13)3 files modifieddebian/changelog (+4/-0)
debian/control (+1/-1)
debian/python-glance.postinst (+0/-12)
Also affects nova as python-support is not a listed dependency though update- python- modules is used in python- nova.postinst.