|
6 | 6 | * Contributors : Zhao <[email protected]> |
7 | 7 | * | |
8 | 8 | * Created On : <2023-08-30> |
9 | | - * Last Modified : <2025-03-25> |
| 9 | + * Last Modified : <2025-07-11> |
10 | 10 | * ------------------------------------------------------------*/ |
11 | 11 |
|
| 12 | +#define OS_Ubuntu_Speed_URL_Postfix "/dists/noble/Contents-amd64.gz" |
| 13 | + |
12 | 14 | static SourceProvider_t os_ubuntu_upstream = |
13 | 15 | { |
14 | 16 | def_upstream, "http://archive.ubuntu.com/", |
15 | 17 | // https://github.com/RubyMetric/chsrc/issues/121 |
16 | | - {NotSkip, NA, NA, "http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz", ACCURATE} |
| 18 | + {NotSkip, NA, NA, "http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz", /* 48.9 MB*/ ACCURATE} |
17 | 19 | }; |
18 | 20 |
|
19 | 21 | /** |
20 | | - * @update 2024-11-21 |
| 22 | + * @update 2025-07-11 |
21 | 23 | */ |
22 | 24 | static Source_t os_ubuntu_sources[] = |
23 | 25 | { |
24 | | - {&os_ubuntu_upstream, "http://archive.ubuntu.com/ubuntu/"}, // 不支持https |
25 | | - {&MirrorZ, "https://mirrors.cernet.edu.cn/ubuntu/"}, |
26 | | - {&Ali, "https://mirrors.aliyun.com/ubuntu"}, |
27 | | - {&Volcengine, "https://mirrors.volces.com/ubuntu"}, |
28 | | - {&Bfsu, "https://mirrors.bfsu.edu.cn/ubuntu"}, |
29 | | - {&Ustc, "https://mirrors.ustc.edu.cn/ubuntu"}, |
30 | | - {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/ubuntu"}, |
31 | | - {&Tencent, "https://mirrors.tencent.com/ubuntu"}, |
32 | | - // {&Tencent_Intra, "https://mirrors.tencentyun.com/ubuntu"}, |
33 | | - {&Huawei, "https://mirrors.huaweicloud.com/ubuntu"}, |
34 | | - // {&Netease, "https://mirrors.163.com/ubuntu"}, /* 不启用原因:过慢 */ |
35 | | - // {&Sohu, "https://mirrors.sohu.com/ubuntu"} /* 不启用原因:过慢 */ |
| 26 | + {&os_ubuntu_upstream, "http://archive.ubuntu.com/ubuntu/", /* 不支持https */ |
| 27 | + DelegateToUpstream}, |
| 28 | + |
| 29 | + {&MirrorZ, "https://mirrors.cernet.edu.cn/ubuntu/", |
| 30 | + "https://mirrors.cernet.edu.cn/ubuntu/" OS_Ubuntu_Speed_URL_Postfix }, |
| 31 | + |
| 32 | + {&Ali, "https://mirrors.aliyun.com/ubuntu", |
| 33 | + "https://mirrors.aliyun.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 34 | + |
| 35 | + {&Volcengine, "https://mirrors.volces.com/ubuntu", |
| 36 | + "https://mirrors.volces.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 37 | + |
| 38 | + {&Bfsu, "https://mirrors.bfsu.edu.cn/ubuntu", |
| 39 | + "https://mirrors.bfsu.edu.cn/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 40 | + |
| 41 | + {&Ustc, "https://mirrors.ustc.edu.cn/ubuntu", |
| 42 | + "https://mirrors.ustc.edu.cn/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 43 | + |
| 44 | + {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/ubuntu", |
| 45 | + "https://mirrors.tuna.tsinghua.edu.cn/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 46 | + |
| 47 | + {&Tencent, "https://mirrors.tencent.com/ubuntu", |
| 48 | + "https://mirrors.tencent.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 49 | + |
| 50 | + // {&Tencent_Intra, "https://mirrors.tencentyun.com/ubuntu", |
| 51 | + // "https://mirrors.tencentyun.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 52 | + |
| 53 | + {&Huawei, "https://mirrors.huaweicloud.com/ubuntu", |
| 54 | + "https://mirrors.huaweicloud.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 55 | + |
| 56 | + /* 不启用原因:过慢 */ |
| 57 | + // {&Netease, "https://mirrors.163.com/ubuntu", |
| 58 | + // "https://mirrors.163.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix}, |
| 59 | + |
| 60 | + /* 不启用原因:过慢 */ |
| 61 | + // {&Sohu, "https://mirrors.sohu.com/ubuntu", |
| 62 | + // "https://mirrors.sohu.com/ubuntu" OS_Ubuntu_Speed_URL_Postfix} |
36 | 63 | }; |
37 | 64 | def_sources_n(os_ubuntu); |
38 | 65 |
|
|
0 commit comments