Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch 换源导致 404 #41

Open
Gn3po4g opened this issue Jul 3, 2024 · 1 comment
Open

Arch 换源导致 404 #41

Gn3po4g opened this issue Jul 3, 2024 · 1 comment
Assignees
Labels
Linux Linux相关

Comments

@Gn3po4g
Copy link

Gn3po4g commented Jul 3, 2024

以华为源为例,换源后mirrorlists文件会设置以下内容

Server = https://mirrors.huaweicloud.com/archlinux/archlinuxarm/$repo/os/$arch
[archlinuxcn]
Server=https://mirrors.huaweicloud.com/archlinux/archlinuxcn/$repo/os/$arch

同时控制台报错:

[chsrc 运行] pacman -Sy archlinux-keyring
error: could not register 'archlinuxcn' database (database already registered)
error: could not register 'archlinuxcn' database (database already registered)

有效设置路径应该为:Server = https://mirrors.huaweicloud.com/archlinux/$repo/os/$arch
且huawei源貌似不提供archlinuxcn。

@ccmywish ccmywish self-assigned this Jul 3, 2024
@ccmywish ccmywish added the Linux Linux相关 label Jul 3, 2024
ccmywish added a commit that referenced this issue Jul 3, 2024
ccmywish added a commit that referenced this issue Jul 3, 2024
ccmywish added a commit that referenced this issue Jul 3, 2024
@ccmywish
Copy link
Contributor

ccmywish commented Jul 3, 2024

@Gn3po4g 你好,感谢指出华为源没有 archlinuxcn.

我将 arch 和 archlinuxcn 拆分为了两个不同的源,可以分别使用:

chsrc set arch

chsrc set archlinuxcn

我刚已发布了最新版,可以从README链接中下载试用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Linux相关
Projects
None yet
Development

No branches or pull requests

2 participants