更新记录
1.20170107 初次成文
为什么有这篇文章
修改软件源后仍然很慢,树莓派仍然还要从*.raspberrypi.org
下载
编辑/etc/apt/sources.list
文件
deb jessie main non-free contrib
deb-src jessie main non-free contrib
改完以后你会发现,apt
下载还是会请求archive.raspberrypi.org
。除了以上这些,还要注释掉/etc/apt/sources.list.d/raspi.list
里所有内容。
#deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
重新更新并升级软件源
sudo apt update #更新源
sudo apt upgrade #更新软件包