ubuntu-Homebrew安装因错误而挂起(WSL unbuntu安装)
发布时间:2022-05-04 02:40:46 257
相关标签: # git# windows# 软件# 软件
大家好,第一个问题。
我正在WSL上运行Ubuntu20.04.02。我在mac电脑上安装了自制软件,但在windows系统上安装时遇到了问题。
我会说,我第一次尝试用安装行运行homebrew,但它挂起了(这是在过程中的进一步阶段,我很笨,没有记录挂起的点),这只发生在后来的尝试中。
一模一样在这里,它挂在绳子上:
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
不幸的是,在这个问题上提供的解决方案是:
rm -fr $(brew --repo homebrew/core)
返回以下内容:
Command 'brew' not found, did you mean:
command 'brec' from deb bplay (0.991-10build1)
command 'qbrew' from deb qbrew (0.4.1-8build1)
Try: sudo apt install
确认我没有损坏的内核安装。
如有任何建议或帮助,将不胜感激。
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报