erro ao carregar bibliotecas compartilhadas: libz.so.1:

0

Estou tendo problema com este erro "erro ao carregar bibliotecas compartilhadas: libz.so.1:" . então eu instalei este pacote apt-get install zlib1g: i386 mas este é o resultado.

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.8) but 1.0.2g-1ubuntu4.10 is to be installed
              Depends: zlib1g-dev but it is not going to be installed
              Breaks: libssl-dev:i386 (!= 1.0.2g-1ubuntu4.8) but 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1 is to be installed
 libssl-dev:i386 : Breaks: libssl-dev (!= 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) but 1.0.2g-1ubuntu4.8 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

This is my operating system

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

Eu tentei o apt-get -f install e este é o resultado

(Reading database ... 129365 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) over (1.0.2g-1ubuntu4.8) ...
dpkg: error processing archive /var/cache/apt/archives/libssl-dev_1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/include/openssl/e_os2.h', which is different from other instances of package libssl-dev:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libssl-dev_1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Obrigado antecipadamente.

    
por jemz 04.01.2018 / 07:59

1 resposta

0

Embora não haja perguntas postadas, presumo que você queira avançar com apt-get install zlib1g:i386 .

Faça sudo apt-get -f install , semelhante ao que foi sugerido. Isso deve corrigir seu sistema de dependências.

O que exatamente o sudo apt-get -f install faz

    
por sancho.s 04.01.2018 / 08:14