Server update errors

I’m going to update my server from Ubuntu16 to 18.
So run the command sudo apt update. But update failed because of the followng errors.

Err:14 https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64  Release
  404  Not Found
Err:8 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Hit:23 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:25 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial InRelease
Reading package lists... Done
E: The repository 'https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

How can I solve for the errors?