o comando apt-get -f install esta dando erro

1. o comando apt-get -f install esta dando erro

michael
mundotv789123

(usa Ubuntu)

Enviado em 08/03/2018 - 10:15h

bom eu tava tentando instalar um programa no debian 8 e deu um erro no meio da instalação
ue tentei refazer a instalação com apt-get install <programa>
porem ele me retornou isso

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libnih1 : Depends: libc6 (> 2.27) but 2.19-18+deb8u10 is installed
locales : Depends: libc-bin (> 2.27) but 2.19-18+deb8u10 is installed
E: Unmet dependencies. Try using -f.

quando teno dar o apt-get -f install ele retorna isso

dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.27-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)




  


2. Re: o comando apt-get -f install esta dando erro

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 08/03/2018 - 11:01h

-tente aí
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get -f remove
sudo apt-get update
sudo apt-get upgrade


3. Re: o comando apt-get -f install esta dando erro

michael
mundotv789123

(usa Ubuntu)

Enviado em 09/03/2018 - 10:30h

ainda ta dando erro ;-;
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.27-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



4. Re: o comando apt-get -f install esta dando erro

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 09/03/2018 - 11:08h

Tente desbloquear o APT

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts