当我运行时,sudo apt-get update我收到四个哈希和不匹配错误:
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages Hash Sum mismatch
Run Code Online (Sandbox Code Playgroud)
我试着用
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
但这没有用,也没有用
sudo apt-get clean
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
或者
sudo apt-get dist-upgrade
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
我还有其他方法可以尝试解决这个问题吗?
每当我尝试安装某些东西时,都会出现以下错误:
The following packages have unmet dependencies:
cuda-samples-8.0 : Depends: cuda-cufft-dev-8-0 but it is not going to be installed
cuda-toolkit-8.0 : Depends: cuda-cufft-dev-8-0 but it is not going to be installed
cuda-visual-tools-8.0 : Depends: cuda-cufft-dev-8-0 but it is not going to be installed
Run Code Online (Sandbox Code Playgroud)
我尝试sudo apt-get -f install,它说:
The following packages were automatically installed and are no longer required:
[lots of cuda 7.5 packages and some other linux ones like linux-image-4.2.0-27-generic]
The following extra packages will be installed:
cuda-cufft-dev-8-0 …Run Code Online (Sandbox Code Playgroud)