Eu atualizei meu Ubtuntu 16.04
servidor hoje cedo, e um dos meus aplicativos que usa wkhtmltopdf
parou de funcionar.
Com base no tópico , a solução é fazer o downgrade e bloquear libssl
da versão anterior.
apt install libssl-dev=1.0.2g-1ubuntu4.8
Quando tento fazer downgrade:
vagrant@homestead:~/src$ sudo apt install libssl-dev=1.0.2g-1ubuntu4.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0.2g-1ubuntu4.8' for 'libssl-dev' was not found
Mais informações no meu servidor são:
root@aubeta:/app# ldconfig -p |grep libssl
libssl.so.1.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssl.so.1.1
libssl.so.1.0.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libssl.so.1.0.0
libssl.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssl.so
root@aubeta:/app# apt-cache search libssl
libssl-dev - Secure Sockets Layer toolkit - development files
libssl-doc - Secure Sockets Layer toolkit - development documentation
libssl1.1 - Secure Sockets Layer toolkit - shared libraries
libssl1.0.0 - Secure Sockets Layer toolkit - shared libraries
Eu segui a sugestão de experimentar esta versão:
sudo apt-get install libssl-dev=1.0.2g-1ubuntu4.10
Com um resultado semelhante:
root@aubeta:/app# apt-get install libssl-dev=1.0.2g-1ubuntu4.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0.2g-1ubuntu4.10' for 'libssl-dev' was not found
Mais saídas de tela dos comentaristas abaixo:
root@aubeta:/app# apt-cache policy libssl-dev
libssl-dev:
Installed: 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1
Candidate: 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1
Version table:
*** 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1 500
500 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
root@aubeta:/app# sudo dpkg -s libssl-dev
Package: libssl-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 6961
Maintainer: Debian OpenSSL Team <[email protected]>
Architecture: amd64
Multi-Arch: same
Source: openssl
Version: 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1
Depends: libssl1.1 (= 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1)
Recommends: libssl-doc
Conflicts: libssl1.0-dev
Description: Secure Sockets Layer toolkit - development files
This package is part of the OpenSSL project's implementation of the SSL
and TLS cryptographic protocols for secure communication over the
Internet.
.
It contains development libraries, header files, and manpages for libssl
and libcrypto.
Homepage: https://www.openssl.org/
Qualquer ajuda é apreciada.