
brew update fatal: unable to access 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-drivers.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-fonts.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://mirrors.ustc.edu.cn/homebrew-cask.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://mirrors.ustc.edu.cn/homebrew-cask-versions.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-command-not-found.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://mirrors.ustc.edu.cn/homebrew-core.git/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://github.com/Homebrew/brew/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. fatal: unable to access 'https://github.com/snyk/homebrew-tap/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask-fonts failed! Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask failed! Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask-drivers failed! Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-cask-versions failed! Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-command-not-found failed! Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed! Fetching /opt/homebrew failed! Fetching /opt/homebrew/Library/Taps/snyk/homebrew-tap failed! curl --version curl 7.84.0 (x86_64-apple-darwin22.0) libcurl/7.84.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.47.0 Release-Date: 2022-06-27 Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe UnixSockets mac mini 8G M1 1 lostberryzz 2022-10-25 15:09:23 +08:00 切换回默认源无问题 |
2 freeair 2022-10-25 15:19:20 +08:00 换默认源吧。 |
3 purplemystic OP 我删除了, 也没有用 |
4 F1reman 2022-10-25 15:24:37 +08:00 大概率清华源抽风了。。 |
5 swulling 2022-10-25 15:24:59 +08:00 via iPhone 猜测是 https 的加密算法客户端已经不支持了,用官方源吧 |
6 purplemystic OP ```bash git remote -vvv origin https://github.com/Homebrew/brew (fetch) origin https://github.com/Homebrew/brew (push) git pull fatal: unable to access 'https://github.com/Homebrew/brew/': A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. ``` |
7 MrKrabs 2022-10-25 15:29:21 +08:00 x86_64-apple-darwin22.0 草 虽然实际编译的还是 arm64 |
8 purplemystic OP  |
9 purplemystic OP @F1reman 中科大的也试了, 也不行 |
10 purplemystic OP @swulling 按照报的错误, 感觉像是 curl 的某个功能没有, 但是我的 curl 已经是 7.84 了, 最新的也才 7.85 |
11 OP @MrKrabs 是不是应该 curl 重新手动编译成 arm 版本的? |
12 Crump 2022-10-25 15:36:34 +08:00 用官方没问题 # 还原 brew.git cd "$(brew --repo)" git remote set-url origin https://github.com/Homebrew/brew.git # 还原 homebrew-core.git cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://github.com/Homebrew/homebrew-core.git |
13 purplemystic OP @Crump <a href="https://sm.ms/image/VNOhgpFy6ZWJeYz" target="_blank"><img src="https://s2.loli.net/2022/10/25/VNOhgpFy6ZWJeYz.png" ></a> 不行 |
14 MrKrabs 2022-10-25 16:29:49 +08:00 @purplemystic 不用管,显示问题 |
15 F1reman 2022-10-25 17:00:18 +08:00 对了 你可以试试 brew doctor 之前我的 brew 敲啥都不行,用的这个命令就修复了 |
16 zhangchongjie 2022-10-25 17:01:30 +08:00 国内源动不动抽风,有网络条件还是默认的吧, |
17 purplemystic OP @F1reman 我这个好像是 libcurl 出问题了, git clone 也报相同的错误了, 但是我手动去编译 libcurl 又报了其他错误 |
18 purplemystic OP |
19 inbox 2022-10-26 06:59:20 +08:00 via iPhone @purplemystic brew bundle dump 一下备份,然后卸载 homwbrew 重装吧… |
20 purplemystic OP @inbox 我系统重装了, 然后又从 12 升到 13 了, 这个 libcurl 的问题没了, 但是 iterm2 会出现中文乱码很坑, 更改终端编码, 也没用 |