ubuntu 16.04 安装odoo出错

ubuntu 16.04 安装odoo出错

我正在使用 Ubuntu 16.04,我想安装odoo v9

我遵循以下步骤:

要在基于 Debian 的发行版上安装 Odoo 9.0,请以 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

但它返回错误,例如

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

为什么会发生此错误?

答案1

这些命令可以解决上述问题,因为它对我有用

wget http://ftp.de.debian.org/debian/pool/main/p/python-support/python-support_1.0.15_all.deb
dpkg -i python-support_1.0.15_all.deb
apt install odoo

来源链接https://github.com/odoo/odoo/issues/11785

答案2

相关内容