Is the domestic mirror source of the Raspberry Pi just copied one at random?

The road is hindered and long, and the line is coming. Keep your head down and work hard, if you don't talk, you will be a blockbuster! Come on, Sao Nian!

1 Answer the question

  The obvious answer is: no

2 Why not?

  I encountered other problems in the actual use process, and finally found this place. Alas, it is a bitter tears to say too much.

  You can refer to this article for the record of stepping on the pit: Raspberry Pi wants to use aptitude to solve the dependency package problem, but what should I do if a dependency package error occurs when using apt-get to install aptitude?

  Back to the topic, why not? Because your Linux system version and version must be used the same mirror source can , otherwise, it may cause a variety of problems.

  Take the Tsinghua source that I currently use as an example. The version of this tutorial ( Portal: Replacing the domestic mirror source for the Raspberry Pi ) is stretch (listed below), but my own Linux system version is buster, so There is a problem that the system version is inconsistent with the mirror source version used.

  The mirror source address of this tutorial is as follows:

deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

  You can use the following command to view the Linux system version used by the Raspberry Pi, or refer to this article: View Linux system version information

lsb_release -a

  Take my system version as an example, the information is as follows:

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster

3 Analysis again

  In order to find out clearly, I went to the website of Tsinghua Yuan ( website link ). Here you can see that there are many different Raspberry Pi system releases. The screenshots are as follows:
Insert picture description here
  Therefore, when we use it, we must find the system that corresponds to ourselves The mirror source of the version must not be used wrong, otherwise there will be many inexplicable problems!

4 summary

  Ok, that’s all for today’s problem summary. Remember to use the mirror source of the corresponding version. If you have any questions, you can comment and leave a message. I look forward to working with you!

If the content of the article is wrong, please comment / private message a lot of advice, thank you! If you think the content of the article is not bad, remember to click three links (like, bookmark, leave a message), your support is my greatest encouragement, thank you!

Guess you like

Origin blog.csdn.net/Fighting_Boom/article/details/106878971