← Back to team overview

openerp-india team mailing list archive

[Bug 1095709] Re: Debian package installation fails in postinst running update-python-modules

 

Proposed fix in lp:~bitglue/openobject-server/fix-debian-builddeps ,
which also fixes https://bugs.launchpad.net/openobject-
server/+bug/985381 .

** Branch linked: lp:~bitglue/openobject-server/fix-debian-builddeps

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1095709

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

Status in OpenERP Server:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1095709/+subscriptions


References