我的樹莓派使用的jessie系統:
1、打開文件
sudo vim /etc/apt/sources.list
2、編輯文件
將原來的deb.......和deb-src......兩行註釋掉
或者直接在這兩行修改
deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi
區別就在於域名
3、編輯後保存並退出文件,執行
sudo apt-get update
sudo apt-get upgrade -y
4、完成