'Homebrew no available formula or cask : fatal: Needed a single revision
notice : sorry if my english is bad (I'm french)
Hey, I'm on Mac OS and i have a problem with Homebrew.
I have to install somethings with this command: brew install pkg-config cairo pango libpng jpeg giflib librsvg
But when i do this, i have that :
Warning: No available formula or cask with the name "ca-certificates".
==> 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.
Updating Homebrew...
fatal: Needed a single revision
Warning: No available formula or cask with the name "pkg-config".
==> 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.
I have tried to find a solution but it doesn't work.., even if i uninstall and reinstall Homebrew, i have the same problem, then i'm asking if i can install the files i need with another way than Homebrew or also if you have an idea to make my homebrew work correctly but i've give up this idea.., So if you can help me please! thank you.
Solution 1:[1]
I had the same issue and following the updates suggested by brew doctor
resolved the issue for me.
the updates were to xcode dev tools and then run
$ rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
$ brew tap homebrew/core
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | aled |