【问题标题】:Homebrew error while installing postgresql安装 postgresql 时出现 Homebrew 错误
【发布时间】:2021-07-30 23:10:37
【问题描述】:

我正在尝试在 MacOS 上使用 Homebrew 安装 Postgresql。在这个命令之后:

brew install postgresql

我收到此错误:

Updating 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 <command> [<revision>...] -- [<file>...]'

fatal: Could not resolve HEAD to a revision

【问题讨论】:

    标签: postgresql macos homebrew


    【解决方案1】:

    错误!

    欢迎来到堆栈溢出,

    我在使用Homebrew 安装PostgreSQL 时也遇到了这个错误, Homebrew 是一个不错的包管理器,但每次都使用它并不方便 我建议你应该从https://www.enterprisedb.com/downloads/postgres-postgresql-downloads下载它

    在这里你可以下载你兼容版本的包,然后有一些小步骤来安装PostgreSQL

    快乐编码?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-05
      • 1970-01-01
      • 1970-01-01
      • 2019-01-08
      • 2013-11-01
      • 2013-08-23
      • 1970-01-01
      相关资源
      最近更新 更多