libc6 erro install-info

1

Eu estava tentando atualizar meu Ubuntu e ele travou ao atualizar o libc6. Então eu tentei executar esta linha por si só:

sudo apt-get install libc6

Eu obtenho o seguinte

Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up install-info (5.2.0.dfsg.1-2) ...
/etc/environment: line 2: syntax error near unexpected token '('
dpkg: error processing package install-info (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu acho que isso significa que algum arquivo de configuração está formatando errado, mas qual e como eu corrijo?

Obrigado

    
por KillerSnail 18.07.2016 / 11:04

1 resposta

0

No meu arquivo /etc/environment eu tinha variáveis de proxy.

http_proxy=http://user:[email protected]:6000
https_proxy=https://user:[email protected]:6000

isso estava causando o apt-get install a falhar mudando para:

http_proxy="http://user:[email protected]:6000"
https_proxy="https://user:[email protected]:6000"

corrige isso

    
por KillerSnail 19.07.2016 / 03:03