5

I was able to install homebrew with no issues, but when I try to install postgresql I get the below error messages:

➜  ~ brew install postgresql
Warning: No available formula with the name "postgresql".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

screen shot of error messages

Any idea how to fix this?

1
  • Did you brew update? Commented Jul 27, 2022 at 10:35

2 Answers 2

1
git -C $(brew --repo homebrew/core) checkout master

this will switch to master, then run

brew doctor

this should run without any error.

If there is no error you can install anything with brew install.

ex:

brew install postgresql

Sign up to request clarification or add additional context in comments.

Comments

1

I had the same problem, and I fixed by running brew tap homebrew/core

After that, postgresql was available to install using:

brew install postgresql

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.