Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. sh: /usr/local/bin/dpkg: No such file or directory
时间: 2024-04-07 21:31:40 浏览: 251
mac 安装homebrew出错 Failed to connect to raw.githubusercontent.com port 443: Connection refused error:
5星 · 资源好评率100%
这是一个错误信息,看起来是在运行Homebrew时出现的。Homebrew是一个在macOS上安装软件包的工具,但是在运行时不应该使用root用户身份。此外,该错误提示还显示了找不到/usr/local/bin/dpkg路径的信息,这可能是由于Homebrew安装过程中出现了问题。建议您使用普通用户身份运行Homebrew,并尝试重新安装软件包。如果问题仍然存在,请查看Homebrew文档或寻求帮助。
阅读全文