RESOLVE SPEED ISSUE WITH THE REPOSITORIES

To address this problem of resolve repository speed you must know something. The default repositories (or original repo), are hosted on servers based in China. Which does not represent difficulty for most residents, except for those of us 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

Recommended method: In the first instance you can go to the solution implemented by the developers in the graphical interface.

Go to Control center > Update settings> Change mirror where the list is displayed. Offering, in addition, to perform a speed test of each of them. And choose the most convenient according to your geographical location.

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

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 happen with the first method.

  • To modify this and force the system to work with the repository that we indicated, we made a few simple steps in the terminal. We recommend before choosing the same one in the deepin interface.
  • sudo nano /etc/apt/sources.list
  • Proceed to comment or cancel the active repo (there should only be one active mirror). for this he places a # in front of the line to comment Ex:#deb [by-hash = force] http: //
  • Now paste the new repository at the end. To exemplify, we will use the mirror our community:
  • deb [by-hash = force] http://mirror.deepines.com/deepin panda main contrib non-free

• Save the changes (save). You can do it with the keyboard shortcut: Control + o

• Then press on your keyboard: Enter

• Then you must leave the sources.list with the keyboard shortcut: Control + x

• Now you must update again: sudo apt updateand then I sweatapt full-upgrade

Mirrors recommended for Latin America and Spain

These mirrors that we show next. You can adjust it from the control center or by adding the corresponding line.

Deepin In Spanish (Global) Spain: deb [by-hash = force] http://mirror.deepines.com/deepin panda main contrib non-free

Argentina xfree.com: deb [by-hash = force] http://deepin.xfree.com.ar/deepin/ panda main contrib non-free

Brazil Univ of Parana: deb [by-hash = force] http://linuxdeepin.c3sl.ufpr.br/deepin/ panda main contrib non-free

Brazil Univ Sao Pablo: deb [by-hash = force] http://sft.if.usp.br/deepin/ panda main contrib non-free

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

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

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

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

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

Chinese High Speed ​​Repository

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

Video of the method using (Terminal)

Video of the method using (Synaptic)

Newer Oldest Mas populares
Notify
Deepin in Spanish
admin
Answered by: Enrique Montero Cordoba

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

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

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

Eli
author

This will surely help many, the article describes it easily and clearly.

Wewe.452
Member

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

Jesus A
Member

Hello I did everything you showed in the tutorial but at the end of the application (apt full-upgrade) it tells me that the blocking file could not be opened, and that the administration directory could not be blocked, I try to enter with (your) and says that the authentication failed. I can only update through the control center

Deepin in Spanish
admin

The blundering file is fixed by removing the lock file in / var / lib / apt / lists or in the path where the terminal shows you it. To do this you can open deepin-files with administrator permissions as seen in the image and Then go back to doing an update.

DeepinScreenshot Select 20181031135643 area

DeepinScreenshot Select 20181031135724 area

Alejandro Sanchez
Member

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