Skip to content

Commit f50d0bb

Browse files
committed
停用阿里的 Kali 源
[GitHub #357]
1 parent 5e37ee0 commit f50d0bb

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

‎src/recipe/os/APT/Kali-Linux.c‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ os_kali_prelude ()
1010
chef_prep_this (os_kali, gsr);
1111

1212
chef_set_recipe_created_on (this, "2023-09-29");
13-
chef_set_recipe_last_updated (this, "2025-08-10");
14-
chef_set_sources_last_updated (this, "2025-06-20");
13+
chef_set_recipe_last_updated (this, "2026-05-22");
14+
chef_set_sources_last_updated (this, "2026-05-22");
1515

1616
chef_set_chef (this, NULL);
1717
chef_set_cooks (this, 1, "@G_I_Y");
18-
chef_set_sauciers (this, 2, "@Yangmoooo", "@happy-game");
18+
chef_set_sauciers (this, 3, "@Yangmoooo", "@happy-game", "@ccmywish");
1919

2020
chef_set_os_scope (this);
2121

@@ -27,16 +27,24 @@ os_kali_prelude ()
2727
def_sources_begin()
2828
{&UpstreamProvider, "http://http.kali.org/kali", DelegateToUpstream},
2929
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali", DelegateToMirror},
30-
{&Ali, "https://mirrors.aliyun.com/kali", DelegateToMirror},
30+
31+
/* 不启用原因: (2026-05-22) https://github.com/RubyMetric/chsrc/issues/357 */
32+
// {&Ali, "https://mirrors.aliyun.com/kali", DelegateToMirror},
33+
3134
{&Volcengine, "https://mirrors.volces.com/kali", DelegateToMirror},
3235
{&Bfsu, "https://mirrors.bfsu.edu.cn/kali", DelegateToMirror},
3336
{&Ustc, "https://mirrors.ustc.edu.cn/kali", DelegateToMirror},
3437
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/kali", DelegateToMirror}
38+
3539
/* 不启用原因: 未与上游同步 */
3640
// {&Huawei, "https://mirrors.huaweicloud.com/kali", DelegateToMirror},
3741
def_sources_end()
3842
}
3943

44+
/**
45+
* @note Kali Linux 的软件源配置文件路径时至今日 (2026-05-22) 仍然是 /etc/apt/sources.list
46+
* 而非 DEB822 格式的 /etc/apt/sources.list.d/kali.sources
47+
*/
4048
void
4149
os_kali_getsrc (char *option)
4250
{

‎src/recipe/os/APT/common.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** ------------------------------------------------------------
22
* SPDX-License-Identifier: GPL-3.0-or-later
33
* -------------------------------------------------------------
4-
* File Authors : Aoran Zeng <ccmywish@qq.com>
5-
* Contributors : happy game <happygame1024@gmail.com>
4+
* File Authors : @ccmywish
5+
* Contributors : @happy-game
66
* |
77
* Created On : <2024-06-14>
88
* Major Revision : 3

0 commit comments

Comments
 (0)