mac os: FATAL: UNABLE TO ACCESS 'HTTPS://GITHUB.COM/HOMEBREW/HOMEBREW-CORE/': LIBRESSL SSL_READ -...

refer to : https://www.freesion.com/article/3951261010/

# cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
# mv homebrew-core homebrew-core.backup
#  git clone git://mirrors.ustc.edu.cn/homebrew-core.git/ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
#  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
#   "$(brew --repo)"
#  git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
#  cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
#  git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
#  brew update

Q: 执行命令出现错误提示:brew clean => error: Not a directory @ dir_s_rmdir - /usr/local/Cellar/python3
A: chown -R serna.li:wheel /usr/local/Cellar/python3
brew clean

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容