Raspberry Pi 4 download the software required from the foreign server, it is hard to top. In order to facilitate a change here to download the software source.
1. Enter the following commands :
sudo nano /etc/apt/sources.list
2. Open the file with a "#" will be the original source of the comment off, and then add the following two sentences:
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
Modified as shown below:
3. Save ctrl + o, press enter to confirm save press ctrl + x exit.
4. Enter the following:
sudo nano /etc/apt/sources.list.d/raspi.list
5. Open the file with a "#" will be the original source of the comment off, and then add the following two sentences:
deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
Effect follows:
6. Press ctrl + o to save, and then press enter to confirm save press ctrl + x exit.
OK, change the source success, then you can happily download.