I was trying to install something via homebrew (this, fwiw), but when I tried doing so Homebrew started to trying updating (I hadn't used it in a long while).
Tho, it remained stuck there for a long time. I interrupted the process by cmd-C, which only interrupted the update of Homebrew, and then the installation of the program I was trying to get failed.
So then I tried to just update Homebrew. It got stuck again. I checked around online, but before going for a brew update --force, I ran brew doctor. I was actually given a huge list of issues, so I don't know where exactly to start from to fix this all?
This is the output of the doctor (abridged for the sake of legibility). Many thanks in advance!
brew doctor
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: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
[many things]
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:
[many things]
Warning: Your Xcode (10.0) is outdated.
Please update to Xcode 10.1 (or delete it).
Xcode can be updated from the App Store.
Warning: Your XQuartz (2.7.8) is outdated.
Please install XQuartz 2.7.11 (or delete the current version).
XQuartz can be updated using Homebrew Cask by running:
brew cask reinstall xquartz
Warning: Broken symlinks were found. Remove them with `brew cleanup`:
[many things]
Warning: Some installed formulae are missing dependencies.
You should `brew install` the missing dependencies:
[many things]
Run `brew missing` for more details.