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

flathub上海交通大学致远镜像站疑似变更 #178

Closed
jialinlvcn opened this issue Mar 15, 2025 · 5 comments · Fixed by #179
Closed

flathub上海交通大学致远镜像站疑似变更 #178

jialinlvcn opened this issue Mar 15, 2025 · 5 comments · Fixed by #179
Assignees
Labels
Deprecate Deprecate
Milestone

Comments

@jialinlvcn
Copy link
Contributor

jialinlvcn commented Mar 15, 2025

flathub上海交通大学致远镜像站疑似变更

原flathub的镜像站 https://mirror.sjtu.edu.cn/flathub 似乎失效,原因不明。

❯ chsrc set flathub
[chsrc 测速] 测速中

  x 上游默认源 上游默认源URL未知,请帮助补充
  - 上海交通大学致远镜像站 ... 22.92 MByte/s

镜像站提示: 上海交通大学致远镜像站 是 flathub 目前唯一可用镜像站,感谢他们的慷慨支持
选中镜像站: SJTUG-zhiyuan (sjtu)
--------------------------------
[chsrc 提示] 若出现问题,可先调用以下命令:
wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg
flatpak remote-modify --gpg-import=flathub.gpg flathub
[chsrc 运行] flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
[chsrc 运行] ✓ 命令执行成功

--------------------------------
chsrc: 全自动换源完成, 感谢镜像提供方: 上海交通大学致远镜像站

❯ flatpak install flathub org.gnome.Extensions
寻找匹配项…
错误: 无法从远程仓库 flathub 加载摘要:Server returned status 502

经过查询 https://mirrors.sjtug.sjtu.edu.cn/flathub 可以使用。建议将其替换成新的可用镜像站地址

❯ sudo flatpak remote-modify flathub --url=https://mirrors.sjtug.sjtu.edu.cn/flathub

❯ flatpak install flathub org.gnome.Extensions
寻找匹配项…
正在跳过:org.gnome.Extensions/x86_64/stable 已安装
@jialinlvcn jialinlvcn added the Deprecate Deprecate label Mar 15, 2025
@jialinlvcn jialinlvcn changed the title flathub上海交通大学致远镜像站变更 flathub上海交通大学致远镜像站疑似变更 Mar 15, 2025
@ccmywish
Copy link
Contributor

@jialinlvcn 感谢报告

他们似乎部署了两个网站:

  1. https://mirror.sjtu.edu.cn/docs/flathub
  2. https://mirrors.sjtug.sjtu.edu.cn/docs/flathub

两个地方写的都是:

sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub

你可以向上海交通大学致远镜像站报告此问题,以进一步确认

@ccmywish
Copy link
Contributor

另外,你是否有兴趣提交 PR 来修复此问题?

@jialinlvcn
Copy link
Contributor Author

另外,你是否有兴趣提交 PR 来修复此问题?

好的,我将在询问上海交通大学镜像站后尝试PR修复这个问题。

@ccmywish ccmywish added this to the v0.2.1 milestone Mar 16, 2025
@jialinlvcn
Copy link
Contributor Author

这个问题似乎是上海交通大学思源镜像站mirror.sjtu.edu.cn常用于同步新镜像,致远镜像站mirrors.sjtug.sjtu.edu.cn兼容原 SJTU 镜像站。这可能一些原因导致思源Flathub镜像可能出现了一些兼容性问题,使得Flathub换源后失效。在 #179 中重新添加了思源站、致远站和官方仓库的recipe

建议后续可以考虑将思源站和致远站分开进行测试,以应对某些target可能存在的兼容性问题。

@ccmywish ccmywish linked a pull request Mar 17, 2025 that will close this issue
@ccmywish
Copy link
Contributor

包含此修改的 v0.2.0.1 已发布,可在 README 中下载最新版(pre)试用 🤝

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

Successfully merging a pull request may close this issue.

2 participants