RESOLVE THE SPEED OF REPOSITORIES

WARNING: Este artículo está en su mayoría obsoleto. Los espejos mencionados en este artículo eran para Deepin 15.11 e inferior, you should not use them in Deepin 20. Just take them as an example of how to change your mirror. Alone our mirror for Deepin It is functional in the latest version of Deepin 20 Community.

This article was last updated on September 22, 2020 to reflect the new URL of our mirror for Deepin 20.

Sometimes we want to change repositories because updates take too long or downloading new applications, to address this problem of resolve repositories speed you must know something. The default repositories (or Original repo), are hosted on servers based in China. Which is not difficult for most residents, except for those of us who are on the other side of the world. To solve this there are mirrors in different countries and continents. We teach you to change them.

Methodology

method Gráfico (recommended): In the first instance you can go to the solution implemented by the developers in the graphical interface. first head Control center > Update Settings and make sure you disabled the option Exchange Intelligent Mirror:

Setting Exchange Intelligent Mirror

Then click the option below the previous Change mirror where the list of available repositories is displayed. Offering also the option to do a speed test each of them. Choose the most suitable according to your geographical location.

NOTE: The repository of our community from 15.8 mirror has become official distribution, find it in the Control Center with the name of Alicante.

Official mirror Alicante
Alicante faster mirror community

Using the terminal to manage repositories

It may happen that this alternative does not convince you and that the store, or that the updates are not really working. That is why a few years ago we solved this problem by modifying the sources.list of deepin. Situation that does not occur with in the first method.

To change this and force the system to work with the repository told you, we made some simple steps in the terminal. We recommend before choosing the same interface also Deepin.

sudo nano /etc/apt/sources.list

Appropriate to comment or cancel the active repo (Alone must have an active mirror). for it puts a number sign # before the line to comment by the following Example will disable imaginary mirror as follows:

#deb[by-hash=force] http://un-repositorio.cualquiera.com/deepin lion main contrib non-free

Now glue to the end the new repository. To illustrate, we will use mirror our community:

deb [by-hash=force] https://mirror.deepines.com/testing/deepin-20-beta/ apricot main contrib non-free

A performing the steps above your file sources.list He should then look something as shown in the following screen shot.

The sources.list with the changes explained here
  • Save the changes (save). You can do with the keyboard shortcut: Control + or
  • Then press on your keyboard: Enter
  • Then you must leave the sources.list with the keyboard shortcut: Control + x
  • Now you need to update again using the following command:
sudo apt update && sudo apt full-upgrade

Mirrors recommended for Latin America and Spain

TheseMirrors which we show below. You can adjust it from the control center or by adding the corresponding line.

Deepin in Spanish (Global):

deb [by-hash=force] https://mirror.deepines.com/testing/deepin-20-beta/ apricot main contrib non-free

University of Parana Brazil:

deb [by-hash=force] http://linuxdeepin.c3sl.ufpr.br/deepin lion main contrib non-free

Univ Brazil Sao Paulo:

deb [by-hash=force] http://sft.if.usp.br/deepin lion main contrib non-free

USA Kernel.ORG:

deb [by-hash=force] http://mirrors.kernel.org/deepin lion main contrib non-free

US Silicon Valley:

deb [by-hash=force] http://mirror1.sjc02.svwh.net/deepin lion main contrib non-free

Colombia:

deb [by-hash=force] http://mirror.edatel.net.co/deepin lion main contrib non-free

Ecuador:

deb [by-hash=force] http://mirror.cedia.org.ec/deepin lion main contrib non-free

Cuba (only works within the country):

deb [by-hash=force] http://repo.frcuba.cu/deepin lion main contrib non-free  

China (High Speed):

deb [by-hash=force] https://mirrors.tuna.tsinghua.edu.cn/deepin/ lion main contrib non-free

Video of the method using (Terminal)

Video of the method using (Synaptic)

5 3 votes
Rate the Article
 
11 Reacciones
More popular
Newer Older
Opinion from the article
See all comments
Эли
Эли (@eli)
Admin
3 años atrás

This is sure to help many, the article describes it easily and clearly.

Wewe.452
Wewe.452 (@wewe-452)
2 years ago

At the end of the changes the system asks me if I am a superuser. I am the only registered user, how do I let the system know that I am a superuser?

Deepin En Español
Deepin En Español (@deepin-en-espanol)
Admin
2 years ago
Answered by: Enrique Montero Cordoba

At the end of the changes the system asks me if I am a superuser. I am the only registered user, how do I let the system know that I am a superuser?

Hello, when you say: «At the end of the changes»? What do you mean exactly?

The last command you must run for the changes to take effect after changing the repository is sudo apt update and of course after that it asks for the password. Can you upload a screenshot of the error or errors during the process please?

Jesús A
Jesús A (@jesusa)
2 years ago

Hello, I did everything you show in the tutorial but at the end when applying (apt full-upgrade) it tells me that the lock file could not be opened, and that the administration directory could not be locked, I try to enter with (su) and It says that the authentication failed. I can only update through the control center

Deepin En Español
Deepin En Español (@deepin-en-espanol)
Admin
Answering to Jesus A
2 years ago

The lock file is fixed by removing the lock file in / var / lib / apt / lists or in the path where the terminal shows you that it is. For this you can open deepin-files with administrator permissions as seen in the image and then do an update again.

DeepinScreenshot Seleccionar área 20181031135643
DeepinScreenshot Seleccionar área 20181031135724
Alejandro Sanchez
Alejandro Sanchez (@alejandrosanchez)
2 years ago

a question the repository of Cuba: deb [by-hash = force] http://repo.frcuba.cu/deepin/ panda main contrib non-free (only for users within the island) is constantly updated?

gustavo koziol
gustavo koziol (@gustavokoziol)
1 year ago

E: Could not lock / var / lib / apt / lists / lock - open (11: Resource temporarily unavailable)
E: Could not lock directory / var / lib / apt / lists /
Hello, could you please tell me how to solve this little problem since it does not allow me to update, thanks

Cristian Hernández Ossa
Cristian Hernández Ossa (@cristianhernandezossa)
1 year ago

I think we should update this article because in the repositories instead of panda is now lion.

Эли
Эли (@eli)
Admin
Answering to Cristian Hernandez Ossa
1 year ago

Cristian Hernández Ossa

Thanks for pointing update the article.

ArtP0
ArtP0 (@artp0)
8 meses atrás

Hello, how can I install the official mirror in Latin Spanish for the new update of Deepin 20?