Home > Blockchain >  unable to install maven on macbook pro (fatal: Could not resolve HEAD to a revision)
unable to install maven on macbook pro (fatal: Could not resolve HEAD to a revision)

Time:01-04

trying to install maven using brew install maven

getting bellow error


Running `brew update --preinstall`...
fatal: Could not resolve HEAD to a revision
Warning: No available formula with the name "maven".
==> 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.

CodePudding user response:

Execute the following commands:

brew doctor

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

  • Related