$ 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` to remove it.
homebrew/homebrew-versions does not exist! Run `brew untap homebrew/homebrew-versions` to remove it.
Brew update fails wtih fatal: could not read Username
homebrewsoftware-updateterminal
Related Question
- MacOS – Issue installing GCC using homebrew (scipy package dependency)
- MacOS – Why does the brew installation not work
- MacOS – Error when terminal opens; no available formula
- MacOS – I’m Getting Errors When I Try to do ‘brew update’
- Upgrade bash without using the terminal to fix iterm issue dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
- Unable to install git using homebrew
Best Answer
After trying to fix the gitconfig in my local I found out that actually brew was the issue.
For me homebrew-dupes and homebrew-versions caused the problem. But the fix is similar to taps.
Just do
which gives you
a simple untap
after which everything is ok