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.
Usually the most active communities are in English, but this is definitely the best for deepin. Thanks for the good work
It's true, thanks for the great community effort.
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!
I agree, this is the best Spanish linux community I have ever been to !!
i love this operating system !!
Thanks for the contribution Fenoll, it has helped me a lot!
Thanks for the work, Fenoll.
Thank you very much, at this moment I'm going much faster.
Excellent contribution to deepin communities around the world, excellent work
Fenoll.
Gracias por todo el trabajo Fenoll ya podemos comenzar con los ajustes finales para deepines 4 y la nueva Deepines Store de la comunidad.
When do you think the final version of deepin 20 will be released?
Good complement to test the beta well, thanks.
Now it is easier for me to install applications from the store.
Thank you very much for the contribution.
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.
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.
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!
Question… this mirror keeps updating? is it the last of the china? or how long does it take to replicate
Greetings.
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.
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.
It works for the official? or is it not necessary?
Thank you very much for the contribution the best community in GNU Linux.
Thank you.
Thanks, teacher.