This problem also exists with http://www.openerp.com/download/stable/deb
/openerp-server-6.0.2-0_all.deb .  In that case, the issue is that the
postinst grep triggers at least one false positive.

On my system there is an openerp-web user.  The postinst script is
interested in an openerp user, but the checking line is "if ! getent
passwd | grep -q "^${_USERNAME}"" , it needs to use "^${_USERNAME}:"
instead so as not to catch users it's not trying to catch.  The ":"
isn't a magic character, it's the format of lines from getent
(user:password:userid:etcetc)

I've attached a new postinst script which does this, which should be
used to build future openerp-server deb files

** Attachment added: "corrected post-installation script for openerp-server"
   
https://bugs.launchpad.net/ubuntu/+source/openerp-server/+bug/785645/+attachment/2286901/+files/postinst

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/785645

Title:
  package openerp-server 5.0.14-1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openerp-server/+bug/785645/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to