[Raspberry Pi] A fonte padrão do Raspberry Pi e substitua-a pela fonte doméstica

Em primeiro lugar, todos devem se lembrar de fazer backup da fonte padrão. Depois que algumas fontes domésticas são substituídas, o sistema não pode ser atualizado normalmente e precisa ser restaurado. A fonte padrão é

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

Se você deseja substituir Raspberry Pi pela fonte Tsinghua, você pode editar /etc/apt/sources.list para ler

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

Se você quiser mudar para a fonte Aliyun, você pode alterá-la para

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

Acho que você gosta

Origin blog.csdn.net/FL1623863129/article/details/132308129
Recomendado
Clasificación