New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded to High Sierra, reinstalled brew, now can't upgrade/install any packages - Your Command Line Tools are too outdated. #4101
Comments
Run |
xcode-select didn’t help To help people in the future who encounter this. Reinstall brew using the usual command for installing from scratch /usr/bin/ruby... The installer will blow away your old CLT with an old one so you will have to update Xcode and search the Apple developer downloads for the corresponding CLT. It may not be obvious where to find it. The above link has it. |
@speedyseal i am on xcode 9.2 and brew doctor tells me ..
So, xcode-select does nothing. Should i just ignore it i wonder and wait for homebrew to get updated ? |
I've been having the same issue for months now. I've There are nothing in There is nothing in softwareupdates. I do have xcode-select version 2349, installed from https://developer.apple.com/download/more/ (CLT tools for Xcode 9.3). I've tried |
So its telling me to ignore so i will :) |
I had to delete a plist from I've tried to poke at the code, but it gets stash when I run |
The problem seems to be that line: brew/Library/Homebrew/formula_installer.rb Line 256 in 97645d0
|
I do have both |
Are you still facing this issue? @nitriques |
@rpranshu Yes I do, thanks for asking !
I do not have xcode anymore. Do you want anything else ? |
After reading the query, i have 2 conclusions:
PS
|
Please file a reproducible bug if there is one otherwise take this conversation to our Discourse or somewhere else, thanks. |
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?Cannot brew install or upgrade any packages.
e.g.
I had upgraded to High Sierra. Then reinstalled brew using
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The installer installed an old version of CLT. Subsequently brew fails to install any package, with the message "Error: Your Command Line Tools are too outdated."
App store doesn't show any newer CLT to install. I updated Xcode to 9.3. I cannot find any place in Xcode to download its corresponding CLT.
The brew installation script shouldn't be installing an old version of CLT that it later complains is too old and exits.
The text was updated successfully, but these errors were encountered: