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

Homebrew 的镜像源有问题 #128

Open
Sligcm opened this issue Dec 5, 2024 · 2 comments
Open

Homebrew 的镜像源有问题 #128

Sligcm opened this issue Dec 5, 2024 · 2 comments
Labels

Comments

@Sligcm
Copy link

Sligcm commented Dec 5, 2024

什么被弃用了?

目前测试的这几个都不好用,基本全军覆没了:

  1. 北京外国语大学开源软件镜像站
  2. 南方科技大学开源软件镜像站
  3. 清华大学开源软件镜像站

brew update
HOMEBREW_BREW_GIT_REMOTE set: using https://mirrors.sustech.edu.cn/git/homebrew/brew.git as the Homebrew/brew Git remote.
fatal: could not read Username for 'https://mirrors.sustech.edu.cn': terminal prompts disabled
HOMEBREW_CORE_GIT_REMOTE set: using https://mirrors.sustech.edu.cn/git/homebrew/homebrew-core.git as the Homebrew/homebrew-core Git remote.
fatal: could not read Username for 'https://mirrors.sustech.edu.cn': terminal prompts disabled

brew update
HOMEBREW_BREW_GIT_REMOTE set: using https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git as the Homebrew/brew Git remote.
HOMEBREW_CORE_GIT_REMOTE set: using https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git as the Homebrew/homebrew-core Git remote.
remote: Enumerating objects: 335, done.
remote: Counting objects: 100% (248/248), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 335 (delta 242), reused 242 (delta 242), pack-reused 87
Receiving objects: 100% (335/335), 126.57 KiB | 9.04 MiB/s, done.
Resolving deltas: 100% (251/251), completed with 53 local objects.
From https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core
f8cb93aa142..2228f825d02 master -> origin/master
==> Updating Homebrew...
fatal: unable to access 'https://mirrors.sustech.edu.cn/homebrew/homebrew-cask.git/': The requested URL returned error: 504
Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask failed!
Installing from the API is now the default behaviour!
You can save space and time by running:
brew untap homebrew/core
brew untap homebrew/cask

@ccmywish ccmywish added the label Dec 6, 2024
@ccmywish
Copy link
Contributor

ccmywish commented Dec 6, 2024

@Sligcm

感谢报告,不过这几个源,尤其是清华源都错了,我怀疑这个可能性比较小,你可以询问清华TUNA他们当前的状态:https://github.com/tuna/issues/issues

相比于镜像站的问题,我更怀疑是 chsrc 的实现没有跟上最新的 Homebrew 换源方案

我这边没有环境来测试,我们需要多个 maintainer 来按照 TUNA 的说明持续跟踪和实现 Homebrew 的换源方案。

@ccmywish
Copy link
Contributor

ccmywish commented Dec 6, 2024

#130

@ccmywish ccmywish changed the title [Deprecate Mirror/Source] homebrew 的镜像源有问题 Homebrew 的镜像源有问题 Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants