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

[Bug] fedora无法再次换源 #116

Closed
1 task done
happy-game opened this issue Nov 4, 2024 · 2 comments · Fixed by #117
Closed
1 task done

[Bug] fedora无法再次换源 #116

happy-game opened this issue Nov 4, 2024 · 2 comments · Fixed by #117
Assignees
Labels
Bug 存在缺陷 Linux Linux相关 操作系统 操作系统
Milestone

Comments

@happy-game
Copy link
Contributor

你操作了什么?

chsrc set fedora https://mirrors.ustc.edu.cn/fedora

发生了什么?

再已经更换过源的情况下无法修改为新的源

本应该怎么样?

chsrc应该替换为新的源

chsrc 版本

v0.1.9.2-dev1-2024/10/31

你使用的是哪个操作系统?

Linux

OS 版本 / OS 发行版

fedora linux

Log 输出

No response

防止重复问题

  • 我已在项目的 GitHub 和 Gitee 两个仓库分别搜索过类似的 issue
@ccmywish ccmywish added Bug 存在缺陷 Linux Linux相关 操作系统 操作系统 labels Nov 4, 2024
@ccmywish ccmywish added this to the v0.2.0 milestone Nov 4, 2024
@happy-game
Copy link
Contributor Author

happy-game commented Nov 4, 2024

问题成因是https://github.com/RubyMetric/chsrc/blob/main/src/recipe/os/YUM/Fedora-Linux.c#L48 ,这里是在官方源的基础上修改的,没有考虑到换源后会变化。
应该要解决这个问题才能实现fedora的chsrc reset

@happy-game
Copy link
Contributor Author

我可以来解决这个问题,顺便更新fedora的Upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 存在缺陷 Linux Linux相关 操作系统 操作系统
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants