美文网首页
记一次brew安装过程 找不到homebrew-gui/' no

记一次brew安装过程 找不到homebrew-gui/' no

作者: 雾霾下的天空 | 来源:发表于2019-12-04 15:40 被阅读0次

运行 brew update后报错 找不到 homebrew-gui. 确实在 github 上已经没有了, 可能是老版本的 homebrew 的源问题. 任何问题重装就行了.

brew 安装过程比较简单

brew官网地址

安装命令

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/sbin

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /usr/local/sbin
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/sbin
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown xiedonghua /usr/local/sbin
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/sbin
==> Downloading and installing Homebrew...
HEAD is now at 6decac587 Merge pull request #6803 from MikeMcQuaid/latest_version_installed
remote: Repository not found.
fatal: repository 'https://github.com/Homebrew/homebrew-gui/' not found
Error: homebrew/homebrew-gui does not exist! Run 'brew untap homebrew/homebrew-gui'
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run:
  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop'
Updated 3 taps (homebrew/core, homebrew/cask and caskroom/cask).

过程中出现错误
fatal: repository 'https://github.com/Homebrew/homebrew-gui/' not found
错误信息给了解决方法
运行 'brew untap homebrew/homebrew-gui'

然后重新再运行

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

顺利解决.

相关文章

网友评论

      本文标题:记一次brew安装过程 找不到homebrew-gui/' no

      本文链接:https://www.haomeiwen.com/subject/qcfkrqtx.html