-
-
Save akhmadkresna/9a61fb89c13ccbb1c55a0ae2d303af81 to your computer and use it in GitHub Desktop.
sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb | |
sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb | |
sudo apt-get install -f | |
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin | |
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin |
There is a brand new version, build for Ubuntu 18.04. Just point to the new *.deb file.
Same script, updated link. Here it goes:
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
sudo apt-get install -f
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin
`(Reading` database ... 194596 files and directories currently installed.)
Preparing to unpack wkhtmltox_0.12.5-1.bionic_amd64.deb ...
Unpacking wkhtmltox (1:0.12.5-1.bionic) ...
dpkg-deb (subprocess): cannot copy archive member from 'wkhtmltox_0.12.5-1.bionic_amd64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive wkhtmltox_0.12.5-1.bionic_amd64.deb (--install):
cannot copy extracted data for './usr/local/bin/wkhtmltopdf' to '/usr/local/bin/wkhtmltopdf.dpkg-new': unexpected end of file or stream
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
wkhtmltox_0.12.5-1.bionic_amd64.deb
Good with everything, please can you help me with this little problem.
root@ip-172-31-34-110:/home/odoo# sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
--2020-07-23 09:50:15-- https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb
Resolving builds.wkhtmltopdf.org (builds.wkhtmltopdf.org)... failed: Name or service not known.
wget: unable to resolve host address ‘builds.wkhtmltopdf.org’
There is a brand new version, build for Ubuntu 18.04. Just point to the new *.deb file.
Same script, updated link. Here it goes:
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb sudo apt-get install -f sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin
that one solved my issue
great job bro
apt-get -y update && apt-get install --fix-missing -y wkhtmltopdf
$ uname -a Linux 5dbfb55cf44e 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 GNU/Linux $ cat /etc/issue Debian GNU/Linux 10 \n \l $ wkhtmltopdf --version wkhtmltopdf 0.12.5
nice... thanks .. it's simple
thank you very much