[please try] Possible solution for slow updates (outside China and USA)
Tofloor
poster avatar
jpcarvalhinho
deepin
2016-03-16 09:11
Author
Edited by jpcarvalhinho at 2016-3-16 01:43

This explanation is coming from an economist, after reading many posts and dev info (Specially https://bbs.deepin.org/post/30636 but it isn't obvious), so bare with me and my lack of knowledge.

A. Explanation
Deepin changed the way it deals with the mirrors. Deepin OS is supposed to have some intelligence choose the best mirror for you, and if it this is not updated, point the apt routines to the universal CDN, that for what I could gather, is located behind the "great china firewall" hence has speed troubles in some parts of the world.

The problem is that many of the closest mirrors haven't yet been updated (they also depend on the CDN), so that intelligence keeps diverting to Chinese CDN.

B. The solution
But you can manualy choose the best mirror for you.

1- Restart your computer
2- Perform these steps BUT DON'T DO THE LAST ONE (do NOT press "check for updates") - Click on image to make bigger.
(this manually chooses the mirror, without activating the supposed inteligence, hence not reverting to the CDN)

3- Open Deepin terminal
4- Type the ususal "sudo apt-get update".
5- Install the latest software you desire, by hand/terminal.


C. Notes
Unfortunatly, for what I could see the software center also invokes the intelligent part... hence any software to be downloaded by this SW will result in pain slow downloads.

D. Request
This worked for me in Portugal, usign a UK mirror.

Please do the same, and share your results here!

Reply Favorite View the author
All Replies
jotapesse
deepin
2016-03-16 09:59
#1
Trouble is, if you look carefully at the list of mirrors, you'll find that none of them is updated to latest 15.1.1. Only a few in China seem to have updated packages to 15.1.1. So if the intelligent mirror selection works, it will always revert to official china server because simply there is no european or american mirror updated.
Reply View the author
jpcarvalhinho
deepin
2016-03-16 11:46
#2
Mmmm... How do you see that (I am really a newb)

I did this with the GB server, and with a german one (DE), and both times I got the system updated do 15.1.1
Reply View the author
jotapesse
deepin
2016-03-16 14:15
#3
Edited by jotapesse at 2016-3-15 22:16

Easy. Open: https://www.deepin.org/mirror.html

Then choose a mirror, and open it's page, for example:
- The UK Mirror Service: http://www.mirrorservice.org/sit ... xdeepin.com/deepin/
- Friedrich-Alexander-Universität Erlangen-Nürnberg: http://ftp.fau.de/deepin/

And browse through the directory "dists/unstable/" - You'll find that all files are updated until 2016-03-03. Deepin 15.1.1 was released on the 2016-03-09 and you can verify it on the:
Official Package Repository: http://packages.deepin.com/deepin/dists/unstable/

So it's impossible to get any 15.1.1 updated file from these repositories. And you get a prize if you find 15.1.1 package files on the remaining mirrors. :-)

Reply View the author
jpcarvalhinho
deepin
2016-03-16 14:59
#4
Edited by jpcarvalhinho at 2016-3-16 07:03

The lists don't coincide on the naming... what a mess!
What I know is that I have 15.1.1 installed  and did it using this technique  
Tomorrow will try again on a new VM.
Reply View the author
claireura
deepin
2016-03-16 18:38
#5
Edited by claireura at 2016-3-16 10:40

I just updated myself to March 10th using the japanese repo. South Africa's SAIX seems to have a repo from 4 days ago, but I get a timeout there.

UPDATE: I can update to march 13 via SAIX thru terminal.
Reply View the author
jpcarvalhinho
deepin
2016-03-17 01:01
#6
Well just been browsing the mirrors this morning, and they all show up with the 10/03/2016 updates... Maybe the cron jobs/process is running every week, instead of every day...
Will try again once I get home.
Reply View the author
jotapesse
deepin
2016-03-17 05:21
#7
https://bbs.deepin.org/post/30850
Well just been browsing the mirrors this morning, and they all show up with the 10/03/2016 updates.. ...

The mirror updates should be daily in most cases. It seems there was an issue with it but it seems to be solved now. :-)
Reply View the author