先是參考https://learnku.com/articles/20450
進行到 dpkg -i wkhtmltox_0.12.5-1.xenial_amd64.deb 的時候報:
dpkg: dependency problems prevent configuration of wkhtmltox:
wkhtmltox depends on libjpeg-turbo8; however:
Package libjpeg-turbo8 is not installed.
dpkg: error processing package wkhtmltox (--install):
查文件:https://cloud.tencent.com/developer/ask/15...
得知是由於Ubuntu和Debian軟體的相容問題。
debian的版本為jessie,嘗試如下:
wget http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
dpkg -i wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
/etc/init.d/odoo restart