sudo apt-get update fails with error below

sudo apt-get update
Get:1 file:/var/cuda-repo-8-0-rc InRelease
Ign:1 file:/var/cuda-repo-8-0-rc InRelease
Get:2 file:/var/cuda-repo-8-0-rc Release [574 B]
Get:2 file:/var/cuda-repo-8-0-rc Release [574 B]
Hit:3 http://azure.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://azure.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://azure.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:8 http://storage.googleapis.com/bazel-apt stable InRelease
Hit:9 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Hit:10 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu xenial InRelease
Fetched 102 kB in 0s (141 kB/s)
Reading package lists… Done
W: file:///var/cuda-repo-8-0-rc/Release.gpg: Signature by key 889BEE522DA690103C4B085ED88C3D385C37D3BE uses weak digest algorithm (SHA1)
W: Invalid ‘Date’ entry in Release file /var/lib/apt/lists/_var_cuda-repo-8-0-rc_Release

Those are warnings, not failures.

If you want to use cuda 8, follow the instructions in the linux install guide. You should not be using cuda 8 rc anymore.