遇到无数的坑,尤其是最后的步骤,按照下面这个网页操作,终于OK了。
https://blog.csdn.net/qq_17685565/article/details/105741864
https://blog.csdn.net/smallfreshfish/article/details/106177487
https://blog.csdn.net/weixin_39954922/article/details/81161226
问题:ERROR: cannot download default sources list from: https://raw.githubusercont
方法:修改hosts文件,添加网站
sudo gedit /etc/hosts
1
打开host文件,在后面添加IP地址
151.101.76.133 raw.githubusercontent.com
再执行