我所有的brew命令(update、config、docker等)都在我的Macv10.14.2上抛出错误:
brew update
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Error: homebrew/homebrew-dupes does not exist! Run 'brew untap homebrew/homebrew-dupes'
homebrew/homebrew-x11 does not exist! Run 'brew untap homebrew/homebrew-x11' 我已经尝试了以下几种选择:
Failed during: /usr/local/bin/brew update --force报告的错误相同brew相关条目在~/..bash_profile中:
alias brew='brew update && brew'
关于如何解决这个问题,有什么建议吗?
发布于 2019-08-27 19:40:20
看起来https://github.com/Homebrew/homebrew-dupes/不存在或被删除,所以请先打开当前的存储库,然后找到另一个工作的git存储库来更新brew。
brew untap homebrew/homebrew-dupes
brew update发布于 2021-02-15 10:08:01
似乎与缺少git repos (或木桶)相关的错误触发了以下错误:
fatal: could not read Username for 'https://github.com': terminal prompts disabled这是由git触发的错误,因此git-related提示符。
当无法从git中获取不再存在的回购时,该提示消息是在这是Homebrew的拉扯请求中引入的。它的解释被记录在拉-请求描述中。
如Jemal 所指出的那样,提示的“拔出”木桶会让你通过这个错误。
https://stackoverflow.com/questions/56011131
复制相似问题