horvan
2016-03-13 05:44 deepin
Where is the thread to bother about this. This absolutely doesn't work in regions other than the uUS or China. It's great to have this system. but I will use my sources.list file as well as sources.list.d in the future, too because this system leeds me to 0 kb/s download speed here in germany. In my opinion. you should put this thing back in to a pre alpha state and roll it out again when it works in more regions than US and Chine. You'll loose customers guys if you bother them with this!
Reply Like 0 View the author
Since the release of deepin 15, we have made massive changes in mirrors, and resulted in confusion and misunderstanding to most friends.
This is a post to answer the questions!
Currently, here's what we have changed in mirrors:
PS: Though Official Mirror and Official Mirror (CDN Acceleration) are of the same data, they are two different mirrors.
How to Change Mirror
First, if you haven't finish reading this post, then:
Do not manually modify /etc/apt/sources.list
Do not manually modify /etc/apt/sources.list
Do not manually modify /etc/apt/sources.list
Here's the right way to switch mirror: Control Center——System Information——Update——Settings (small gear)——Switch.
A GIF tells it better (click to view large image) :
How System Update Works
Situation I:
If you haven't changed mirrors, then System Update (APT) will connect to Official Mirror (CDN Acceleration) to upgrade.
Situation II:
If you have changed mirror to Mirror A, then System Update will initiate connection requests to Mirror A and Official Mirror (CDN Acceleration):
Answering Questions
1.Why it shows it is connected to the Official Mirror after I changed mirror source when using APT command in terminal?
/etc/apt/sources.list will not be changed if you switch mirror in Control Center, because mirror switched is saved elsewhere.
APT is relevant to /etc/apt/sources.list, so the terminal output will always be the connection information for Official Mirror (CDN Acceleration) (Refer to "How System Update Works") . For details: More Information
PS: It is normal for system to intellectually select mirror, no need to worry.
2. Can I change mirror by modifying /etc/apt/sources.list?
Yes you can, but the cost is for you to lose intellectual mirror switching function. And when the mirror site you chose goes wrong, you will not be able to upgrade through Official Mirror (CDN Acceleration). Please consider carefully!
3. In which areas does the Official Mirror (CDN Acceleration) work better?
Currently, we have CDN nodes in China and USA, so the acceleration is not that obvious in other areas.
Functions Planning to Add
Speed test in the first update: automatically test speed and recommend mirror, and mark the connection speed of mirror with color.
PS: it is not technically evaluated yet, the final effect and method could be changed.
More Information
If you have basic knowledge on mirrors and would like to learn more, please visit: https://github.com/linuxdeepin/lastore-daemon/blob/master/deepin_repository.org