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

I am trying to install the Community version to VMware with Ubunty 16.04.

I am not very familiar with Ubunty/Linux but I switched to root user (# sudo -s) and then followed the installation guide

# wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
# echo "deb http://nightly.odoo.com/10.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
# apt-get update && apt-get install odoo



It seems to install everything fine but at the end I am getting this:


Setting up odoo (10.0.20170403) ...

chown: cannot access '/var/lib/odoo': No such file or directory dpkg: error processing package odoo (--configure):

 subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.23-0ubuntu5) ...

Processing triggers for systemd (229-4ubuntu16) ...

Processing triggers for ureadahead (0.100.0-19) ...

Errors were encountered while processing:

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

Avatar
Discard

Thank you for help

Author Best Answer

I found the solution. you just have to create the folder:

# mkdir /var/lib/odoo

Avatar
Discard