This question has been flagged
1 Reply
14991 Views

hi,

i am using ubuntu 16.04 i want to install odoo v9 in it

i follow these steps


To install Odoo 9.0 on Debian-based distribution, execute the following commands as root:

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

but it return error like


/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)

how can i solve this error .





Avatar
Discard

16.04 is just a couple of days old and I'm not even using it on my desktop and will for sure wait for another 2 months and you want to install a complex server application on it???? I'm sure you will face plenty of any kind of weird problems and dependency issues, especially considering many "old" libraries Odoo 9.0 is still relying on. Why not use 14.04?

Best Answer

Hello Kartik,


Follow command will helps you.

sudo rm /var/lib/apt/lists/lock

sudo rm /var/cache/apt/archives/lock

sudo apt-get update


UPDATE :-

jigneshm@Jigneshm:~$ cd /etc/apt/sources.list.d/

jigneshm@Jigneshm:/etc/apt/sources.list.d$ ls

chris-lea-node_js-precise.list     google-chrome.list.save         google.list        google.list.save      google-talkplugin.list.save

 

Go to sources.list.d folder through terminal.

After ls command fired. so all list is appeared.

Now remove folder which is install more than one time.


http://askubuntu.com/questions/688338/e-sub-process-usr-bin-dpkg-returned-an-error-code-1-related-to-google-chrom



Thanks,

Avatar
Discard
Author

I follow you steps but still it return same error and in sudo apt-get update it will return error like "W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:89 and /etc/apt/sources.list:90 "

Author

hi ifollow your step i removed entry from sources.list.d after i give command "sudo apt-get update && sudo apt-get install odoo but it return same error ""