Brew: Your CLT does not support macOS 11.0

Created on 13 Nov 2020  路  2Comments  路  Source: Homebrew/brew

Bug report

Homebrew 2.5.10
Homebrew/homebrew-core (git revision c650d; last commit 2020-11-13)
Homebrew/homebrew-cask (git revision 8cad3; last commit 2020-11-13)

  • [x] ran brew update and can still reproduce the problem?
  • [x] ran brew doctor, fixed all issues and can still reproduce the problem?
  • [x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

Upgrade an installed package on macOS Big Sur, just after upgrading macOS.

What happened (include command output)


Command output

==> Downloading https://fastdl.mongodb.org/tools/db/mongodb-database-tools-macos

################################################################## 100.0%

==> Downloading https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-4.4.1.tgz

################################################################## 100.0%

==> Installing dependencies for mongodb/brew/mongodb-community: mongodb-database-tools
==> Installing mongodb/brew/mongodb-community dependency: mongodb-database-
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Error: An exception occurred within a child process:


What you expected to happen

Upgrade the installed package.

Step-by-step reproduction instructions (by running brew commands)

  • brew update
  • brew upgrade mongodb-community

Output of brew config and brew doctor commands

HOMEBREW_VERSION: 2.5.10
ORIGIN: https://github.com/Homebrew/brew
HEAD: b43c0fed789b4cae33cd200284c44a095db57c3c
Last commit: 18 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c650db22d9f3d08d6a03fccc0c1f9098fea4993b
Core tap last commit: 3 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_242
macOS: 11.0.1-x86_64
CLT: 1103.0.32.29
Xcode: 12.2

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.


Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  [email protected]

Warning: You are using macOS 11.0.
We do not provide support for this released but not yet supported version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or any other official channels. You are responsible for
resolving any issues you experience while you are running this
released but not yet supported version.

Warning: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Most helpful comment

Ran the following and it did not work:
softwareupdate --all --install --force

Forgot to run the following before, now I did it and worked. Thank you!

  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

All 2 comments

Did you try this:

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

Ran the following and it did not work:
softwareupdate --all --install --force

Forgot to run the following before, now I did it and worked. Thank you!

  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install
Was this page helpful?
0 / 5 - 0 ratings