树莓派更换阿里云源

sudo nano /etc/apt/sources.list
#将原有内容用#注释掉
deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main contrib non-free rpi
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ buster main contrib non-free rpi
sudo nano /etc/apt/sources.list.d/raspi.list
#将原有内容用#注释掉
deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main
deb-src http://mirrors.aliyun.com/raspbian/raspbian/ buster main
sudo apt-get update
sudo apt-get upgrade
posted @ 2019-10-13 17:13  Fore_WML  阅读(5200)  评论(0编辑  收藏  举报