终端输入:
sudo gedit /etc/apt/sources.list
备份好之前的设置,更改为清华大学的源:
清华大学更新服务器,(教育网核心节点百兆接入,已计划提高到千兆)由清华大学学生网管会维护。包含其他开源镜像:
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
最后更新一下:
sudo apt-get update
在更新源的过程中出了一些错误,列在这里,不知道什么原因:
错误:24 http://security.ubuntu.com/ubuntu xenial-security/main arm64 Packages
404 Not Found [IP: 91.189.91.38 80]
查询了解决办法,但是没有效果:
http://s1nh.com/post/arm64-after-jetpack/
还有另一种方法,但是看评论不敢随意操作。
https://blog.csdn.net/we1583004we/article/details/80001059