instale o gcc4.9 no Ubuntu14.04LTS com erro de “incompatibilidade de soma hash”

0

Eu tento instalar o gcc4.9 no Ubuntu 14.04 e rodar:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update

com o seguinte erro:

...
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old  ones used instead

Eu insiro link no navegador recebendo resposta 'não encontrada'.

tente instalar mais:

sudo apt-get install gcc-4.9

com o seguinte:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gcc-4.9:i386 : Depends: cpp-4.9:i386 (= 4.9.4-2ubuntu1~14.04.1) but it is not going to be installed
                Depends: gcc-4.9-base:i386 (= 4.9.4-2ubuntu1~14.04.1) but it is not going to be installed
                Depends: binutils:i386 (>= 2.24) but it is not going to be installed
                Depends: libgcc-4.9-dev:i386 (= 4.9.4-2ubuntu1~14.04.1) but it is not going to be installed
                Depends: libc6:i386 (>= 2.11) but it is not going to be installed
                Depends: libcloog-isl4:i386 (>= 0.17) but it is not going to be installed
                Depends: libgmp10:i386 but it is not installable
                Depends: libisl15:i386 (>= 0.15) but it is not going to be installed
                Depends: libmpc3:i386 but it is not installable
                Depends: libmpfr4:i386 (>= 3.1.3) but it is not going to be installed
                Depends: zlib1g:i386 (>= 1:1.1.4) but it is not installable
                Recommends: libc6-dev:i386 (>= 2.13-0ubuntu6) but it is not going to be installed

Problemas ao baixar a lista de pacotes devido a um Erro de "incompatibilidade de soma de hash" - isso não funciona para mim.

Qualquer sugestão será ótima para mim: -)

    
por Johnson Lai 16.10.2016 / 15:48

1 resposta

0

se você redimensionar a URL de volta para a pasta como esta

link

então funciona no navegador e você pode ver que há uma cópia compactada gzip e bzip2 do arquivo Packages. Você pode baixar este arquivo e colocá-lo em / var / cache / apt / archives / list ou / var / cache / apt / archives / ele pode pular a etapa com falha.

update: olhando a página do ppa eu posso ver que existe outro link que funcionará melhor, tente isso

sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
    
por Amias 16.10.2016 / 22:00