目前,我使用的是Linux Mint 17.3。
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gcc-4.9/cpp-4.9_4.9.3-8ubuntu2~14.04_amd64.deb Hash Sum mismatch
E: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/pool/main/g/gcc-4.9/g++-4.9_4.9.3-8ubuntu2~14.04_amd64.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
发布于 2016-08-10 14:37:43
删除/var/lib/apt/lists directory
的内容:
sudo rm -rf /var/lib/apt/lists
sudo apt-get update
sudo apt-get -f install
安装gcc-4.9
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
https://stackoverflow.com/questions/38759830
复制相似问题