I try to install gcc4.9 on Ubuntu 14.04 and run:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
with following error:
...
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
I type http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/trusty/main/binary-amd64/Packages into the browser getting 'not found' reply.
try to install anymore:
sudo apt-get install gcc-4.9
with following:
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
Trouble downloading packages list due to a "Hash sum mismatch" error --this doesn't work to me.
Any suggestions will be great to me:-)
Packages
file is a little different I think: see How can I troubleshootapt-get update
giving Hash Sum mismatch – steeldriver Oct 16 '16 at 14:07