Skip to Content
Menu
This question has been flagged
1 Reply
8534 Views

When I try to install Odoo 9 on Ubuntu 9, I got the following error:


Setting up odoo (9.0c.20160427) ...

/var/lib/dpkg/info/odoo.postinst: 28: /var/lib/dpkg/info/odoo.postinst: update-python-modules: not found

dpkg: error processing package odoo (--configure):

subprocess installed post-installation script returned error exit status 127

Errors were encountered while processing:

odoo

E: Sub-process /usr/bin/dpkg returned an error code (1)

--------

When I try to update python-modules, I got this:


root@ubuntu1:/# apt-get install python-modules

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package python-modules


Do you have an idea what when wrong? or I did something wrong


Regards,


A.Aliouche

www.vemali.com


Avatar
Discard
Best Answer

Ubuntu 16.04 installs Python 3 by default. Odoo needs Python 2.7. If you want to install Odoo on Ubuntu 16.04 you have to carefully study all dependencies and Odoo preliminaries.

How did you try to install Odoo? Using a script which installs Odoo on Ubuntu 14.04?

Please check this: http://www.odoo.yenthevg.com/installing-odoo-9-ubuntu-16-04/

Avatar
Discard