Odoo Help


This community 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.


Error installing Odoo 9 on Ubuntu 16.04

Ahouab Aliouche
on 4/27/16, 4:25 AM 2,863 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 3 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/

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)


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