Ubuntu下使用sudo apt-get无法正常连接,换了好几个源还是不行,最终发现是版本问题,参考
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
操作步骤:
1.备份/etc/apt/sources.list
2.打开该文件 sudo gedit /etc/apt/sources.list
3.删除文件所有内容 替换为连接中的链接地址,注意版本一定选对
Ubuntu下使用sudo apt-get无法正常连接,换了好几个源还是不行,最终发现是版本问题,参考
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
操作步骤:
1.备份/etc/apt/sources.list
2.打开该文件 sudo gedit /etc/apt/sources.list
3.删除文件所有内容 替换为连接中的链接地址,注意版本一定选对