Debian package installation fails in postinst running update-python-modules

Bug #1095709 reported by Phil Frost
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Attempting to install a Debian package built on Debian squeeze results in this error:

$ sudo dpkg -i /var/cache/pbuilder/result/openerp_7.0-201301030333+macpros_all.deb
(Reading database ... 42064 files and directories currently installed.)
Preparing to replace openerp 7.0-201301030333 (using .../openerp_7.0-201301030333_all.deb) ...
Stopping openerp-server: start-stop-daemon: warning: failed to kill 617: No such process
openerp-server.
Unpacking replacement openerp ...
Setting up openerp (7.0-201301030333) ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: openerp.public is not a recognized python-support module.
dpkg: error processing openerp (--install):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 openerp

The cause of this seems to be that python-support is not included in Build-Depends. I am working on a branch to fix the issue.

I am using a checkout of openobject-server 7.0, but I suspect it applies equally to all versions.

Related branches

Revision history for this message
Phil Frost (bitglue) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.