C/C++教程

ubuntu apt-get update 失败(源于 https://developer.download.nvidia.com/)

本文主要是介绍ubuntu apt-get update 失败(源于 https://developer.download.nvidia.com/),对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

1.报错现象

 2.报错分析
 

 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release' does not have a Release file.
E: The repository 'https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release' does not have a Release file.

 NVIDIA网站解析失败

3.解决方法

 echo "deb http://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/cuda.list \
 echo "deb http://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list

修改 /etc/apt/sources.list.d 里源文件 
重新执行 apt-get update 成功!!!
 

这篇关于ubuntu apt-get update 失败(源于 https://developer.download.nvidia.com/)的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!