IMPROVE THE SPEED OF DEEPIN REPOSITORIES

UPDATED ITEM

04-19-2020: The repository of the appstore.
08-27-2020: Updated to fit Deepin 20 1001
09-21-2020: The title was updated to reflect that the procedure works with Deepin 20 Final
05-12-2020: The URL and the distribution parameter of the Deepin mirror repositories were updated.
01-12-2021: Fixed mirror repository url to remove wordtesting.
12-01-2021: The title of the article was changed to reflect that the procedure works in Deepin 20 and higher.
03-02-2021: The URL of the mirror repository of the Deepin store was updated.

IMPROVE THE SPEED OF REPOSITORIES

We offer a solution to increase the speed of the Deepin 20 and higher repository. Due to the immense demand for the repository of Deepin 20 (and later versions) hosted in China, the community is experiencing outages, connection delays, and slow speeds.

For this reason, on behalf of our entire team, we want to do our bit and make publicour mirror of the Deepin community in Spanish. This mirror is hosted outside of China and offers better transfer speeds.

The following is the configuration of the mirrors.

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

If you use to manually configure the repositories, you already know that you have to change the repository by editing filesources.list.

We also provide a quick and easy method to change the mirror, select the following command in full by triple clicking (all the text in a single command), copy it, paste it in the terminal and press the key Enter.

This first command adds the main repository of the system.

sudo sed -i "s|^deb \[by-hash=force\] https://community-packages.deepin.com/deepin/ apricot main contrib non-free|#deb \[by-hash=force\] https://community-packages.deepin.com/deepin/ apricot main contrib non-free\ndeb \[by-hash=force\] https://mirror.deepines.com/deepin/ apricot main contrib non-free|" /etc/apt/sources.list

You can check if you changed the mirror successfully with the following command.

cat /etc/apt/sources.list

And you should get the following result.

[email protected]:~$ cat /etc/apt/sources.list
## Generated by deepin-installer
#deb [by-hash=force] https://community-packages.deepin.com/deepin/ apricot main contrib non-free
deb [by-hash=force] https://mirror.deepines.com/deepin/ apricot main contrib non-free
#deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free
[email protected]:~$ 

Now we are going to add the application store repository with this second command, we repeat the process. Select the following command whole by triple clicking (all the text in a single command), copy it, paste it in the terminal and press the key Enter.

sudo sed -i "s|^deb https://community-store-packages.deepin.com/appstore eagle appstore|#deb https://community-store-packages.deepin.com/appstore eagle appstore\ndeb https://mirror.deepines.com/appstore eagle appstore|" /etc/apt/sources.list.d/appstore.list

You can check if you changed the mirror successfully with the following command.

cat /etc/apt/sources.list.d/appstore.list

And you should get the following result.

[email protected]:~$ cat sources.list.d/appstore.list 
#deb https://community-store-packages.deepin.com/appstore eagle appstore
deb https://mirror.deepines.com/appstore eagle appstore
[email protected]:~$ 

Now we only need to update the database APT with the following command.

sudo apt update

If the terminal does not show error messages, everything has been configured correctly.

CLARIFICATION

Deepin's mirror repository should not be confused with Deepines Store, the mirror repository is an exact copy of the Deepin repository in China, Deepines Store (Formerly known exclusively as Deepines Community Repository) is the one with the custom packages. And yes, Deepin in Spanish maintains two repositories, the mirror repository and the Deepines community repository (Now Deepines Store).

The content of images and text of the Deepin application store depends on a website that is hosted in China. Changing the mirror repository to that of our community will not speed up the loading of images and text. What will be faster are the downloads of the applications when they are installed, which will be downloaded from our servers.

5 30 votes
Rate the Article
 
Subscribe
Report of
26 Reacciones
More popular
Newer Older
Opinion from the article
See all comments
Omar G
Omar G (@omarg)
1 año atrás

Usually the most active communities are in English, but this is definitely the best for deepin. Thanks for the good work

Juan Carlos
Juan Carlos (@juan-carlos)
Respondiendo a  Omar G
1 año atrás

It's true, thanks for the great community effort.

Gabriel
Gabriel (@gabriel-acu)
5 meses atrás

Someone give me a hand, when I try to update (sudo apt update) I get the following error.

E: Failed to get https://mirror.deepines.com/testing/deepin-20-beta/dists/apricot/main/Contents-amd64 404 Not Found [IP: 172.67.149.13 443]
E: Some index files could not be downloaded, they were skipped, or old ones were used instead.

In the checks I have the same detail as in the publication with which I understand that the problem could be another. I am a novice user in this world, I apologize if this is not the place or the way to request a hand.

Thanks in advance. A greeting!

Beyman Mcgregor Lopez Mejia
Beyman Mcgregor Lopez Mejia (@beymanmcgregorlopezmejia)
1 año atrás

I agree, this is the best Spanish linux community I have ever been to !!
i love this operating system !!

danny672007
danny672007 (@danny672007)
1 año atrás

Thanks for the contribution Fenoll, it has helped me a lot!

Jare GM
Jare GM (@jaregm)
1 año atrás

Thanks for the work, Fenoll.

BorisJSMX
BorisJSMX (@borisjsmx)
1 año atrás

Thank you very much, at this moment I'm going much faster.

Эли
Эли (@eli)
Admin
1 año atrás

Excellent contribution to deepin communities around the world, excellent work Fenoll.

Car
Car (@car)
1 año atrás

Gracias por todo el trabajo Fenoll ya podemos comenzar con los ajustes finales para deepines 4 y la nueva Deepines Store de la comunidad.

luis eduardo
luis eduardo (@luis-eduardo)
1 año atrás

When do you think the final version of deepin 20 will be released?

XOdein
XOdein (@xodein)
11 meses atrás

Good complement to test the beta well, thanks.

ErnestoRyes
ErnestoRyes (@ernestoryes)
11 meses atrás

Now it is easier for me to install applications from the store.

sebas
sebas (@sebas)
11 meses atrás

Thank you very much for the contribution.

Memo Soria
Memo Soria (@gsorian)
11 meses atrás

Hello, how are you?

I carried out this operation and it really improved the response time for the updates, however, today I am getting an error when I want to update the system again, with a message of «Dependency error, failed to detect the updates », What I did was return to the original Deepin 20 Beta repositories, installed by default, even so, the problem continues. For now, I'll wait, thinking about a problem with the servers.

Has anyone on the forum experienced this same problem?… If so… did it solve it?

Thanks in advance and greetings,
Memo.

Эли
Эли (@eli)
Admin
Respondiendo a  Memo Soria
11 meses atrás

Memo Soria very good, the error that you count does not seem to me related to this repository, in fact I do not think it is related to the repos you use, it could be something different.

Can you please say exactly the command you are using when you get that? Can you show a screenshot of the error? Are you trying to update through the terminal or through the graphical interface?

Greetings.

Memo Soria
Memo Soria (@gsorian)
Respondiendo a  Эли
11 meses atrás

Hello Eli, thank you very much for answering!… Well, it turns out that I did it again now, update by graphical interface and by terminal and… there are no errors!…

Greetings!

Daniel Berin
Daniel Berin (@danielberin1)
11 meses atrás

Question… this mirror keeps updating? is it the last of the china? or how long does it take to replicate

Эли
Эли (@eli)
Admin
Respondiendo a  Daniel Berin
11 meses atrás

Daniel Berin the mirror continues to update, the specific time of replicas could not tell you, maybe Fenoll or Car they can give you more details about it.

Greetings.

Maxidiazbattan
Maxidiazbattan (@maxidiazbattan)
7 meses atrás

It throws me an error when doing the update, I copied everything as it appears in the post. Any solution? From already thank you very much.

Obj:2 https://mirror.deepines.com/testing/deepin-20-beta apricot InRelease        
Ign:3 https://community-packages.deepin.com/printer eagle InRelease            
Err:4 https://community-packages.deepin.com/printer eagle Release             
 404 Not Found [IP: 94.130.49.186 443]
Obj:5 https://mirror.deepines.com/testing/appstore eagle InRelease
Leyendo lista de paquetes... Hecho
E: El repositorio https://community-packages.deepin.com/printer eagle Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.

Isaías Gätjens M
Isaías Gätjens M (@igatjens)
Admin
Respondiendo a  Maxidiazbattan
7 meses atrás

Maxidiazbattan

Hello, check the article What to do after installing Deepin 20? - https: //deepinenespañol.org/que-hacer-despues-de-instalar-deepin-20-guia-basica/ - There is a solution to that problem.

 

Maxidiazbattan
Maxidiazbattan (@maxidiazbattan)
Respondiendo a  Isaías Gätjens M
7 meses atrás

Isaías Gätjens M Excellent, thank you very much for responding so soon Isaías. Thanks to the article I have been able to correct it. Cheers!

Daniel Berin
Daniel Berin (@danielberin)
6 meses atrás

It works for the official? or is it not necessary?

Эли
Эли (@eli)
Admin
Respondiendo a  Daniel Berin
6 meses atrás

Daniel Berin Yes, it works.

José Paredes
José Paredes (@joseparedes)
6 meses atrás

Thank you very much for the contribution the best community in GNU Linux.

Ruben PC
Ruben PC (@rubenpc)
6 meses atrás

Thank you.

caradecavalo
caradecavalo (@caradecavalo)
6 meses atrás

Thanks, teacher.

26
0
We would like to know what you think, join the discussion.x
()
x