Hash sum mismatch of 396 drivers on Ubuntu 16.04 when trying to install cuda 9-2

Hi there,

Trying to apt-get install cuda with
deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /
in my sources list.

I am getting these hash sum mismatches on the drivers that are pulled as dependencies:

Get:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 nvidia-396-dev 396.26-0ubuntu1 [81.5 kB]
Err:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 nvidia-396-dev 396.26-0ubuntu1
Hash Sum mismatch
Get:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 nvidia-modprobe 396.26-0ubuntu1 [18.6 kB]
Err:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 nvidia-modprobe 396.26-0ubuntu1
Writing more data than expected (18612 > 18608)
Get:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 cuda-drivers 396.26-1 [2,402 B]
Err:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 cuda-drivers 396.26-1
Hash Sum mismatch
Fetched 83.9 kB in 0s (6,590 kB/s)
E: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/./nvidia-396-dev_396.26-0ubuntu1_amd64.deb Hash Sum mismatch

E: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/./nvidia-modprobe_396.26-0ubuntu1_amd64.deb Writing more data than expected (18612 > 18608)

E: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/./cuda-drivers_396.26-1_amd64.deb Hash Sum mismatch

They seem broken, or am I missing something?

Best Regards
Simon Molin

I got past it by changing the repo to https, that is:

deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /

Best Regards
Simon Molin