Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
15562 Lượt xem
dpkg: dependency problems prevent configuration of wkhtmltox:
wkhtmltox depends on libssl1.1; however:
Package libssl1.1 is not installed.

dpkg: error processing package wkhtmltox (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-2) ...
Errors were encountered while processing:
wkhtmltox



So wkhtmltopdf 0.12.5 version is not working for Ubuntu 22.10.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

For Ubuntu 22.10 kinetic, wkhtmltopdf 0.12.6.1 version supported for odoo 15 & 16, for my machine finally.

wget https://github\.com/wkhtmltopdf/packaging/releases/download/0\.12\.6\.1\-2/wkhtmltox_0\.12\.6\.1\-2\.jammy_amd64\.deb

sudo apt install  ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb

or

sudo dpkg -i ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb


Then check the version by 

wkhtmltopdf --version //wkhtmltopdf 0.12.6.1 (with patched qt)
wkhtmltoimage --version //wkhtmltoimage 0.12.6.1 (with patched qt)

Sometimes it's required a restart.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hii

after installed the package and run this command sudo\ apt\ install\ \-f\ \./wkhtmltox_0.12.6.1-2.jammy_amd64.deb the output it come :

 -bash: sudo apt install -f ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb: No such file or directory


what the issue ? Im working on odoo V16 enterprise Ubuntu 22 LTS


Ảnh đại diện
Huỷ bỏ

try simple command as
sudo apt install -f ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb
if you are in the same directory, check if the name of the deb file
also try
sudo dpkg -i your_package_file.deb

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
1948
3
thg 7 25
3539
1
thg 5 25
1661
1
thg 5 25
1896
4
thg 5 25
3030