Odoo Help


Error installing Odoo 9 on Ubuntu 16.04

Ahouab Aliouche
on 4/27/16, 4:25 AM 5,084 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:


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





Ermin Trevisan

--Ermin Trevisan--
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--

Ermin Trevisan
On 4/27/16, 6:02 AM

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/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 4/27/16, 4:25 AM
Seen: 5084 times
Last updated: 6/9/16, 4:16 PM