1、修改配置文件
修改/etc/apt/sources.list
#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi # Uncomment line below then \'apt-get update\' to enable \'apt-get source\' #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
修改/etc/apt/sources.list.d/raspi.list
#deb http://archive.raspberrypi.org/debian/ buster main # Uncomment line below then \'apt-get update\' to enable \'apt-get source\' #deb-src http://archive.raspberrypi.org/debian/ buster main deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
2、同步源
执行命令
apt update
注意:本文归作者所有,未经作者允许,不得转载
原文地址: http://blog.wsmee.com/post/125
版权声明:非商用-非衍生-保持署名| Creative Commons BY-NC-ND 3.0