之前在卸载cuda时,执行到这步时
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get update
出现fail to fetch xxx问题。
ping www.baidu.com,ping不通。
查询到是DNS配置问题
于是vim /etc/resolv.conf
添加一行 nameserver 8.8.8.8
保存退出即可。
再ping www.baidu.com,通了。之前那个命令可以成功执行了。
3万+

被折叠的 条评论
为什么被折叠?



