Can't upgrade mongodb


(Rcilio) #1

Greetings all!. I’m currently running OS X El Capitan (10.11.6) on a 2012 machine. A full version of Xcode 8.2.1 is also installed. While attempting to ‘brew upgrade mongodb’ I received the following error:

mongodb: A full installation of Xcode.app 8.3.2 is required to compile this software.
Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.

I don’t believe I can install a higher version of Xcode on my machine without upgrading to Sierra, which I didn’t really want to do at this time. Is there a workaround for upgrading mongodb, or should I uninstall it and reinstall it without using Homebrew as a package manager? Many thanks!


(DJ Holt) #2

I am experiencing this exact issue as well. Any workaround here? Thanks!


(Jacob Ledbetter) #3

you should be able to to use brew info mongodb and determine the version that you need to use. Then use brew reinstall mongodb "version" to revert.