You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Refusing to uninstall /usr/local/Cellar/xz/5.2.5
because it is required by cairo, glib, gobject-introspection, harfbuzz,
macvim, meson, pango, pdf2htmlex, [email protected], sphinx-doc and ttfautohint,
which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies xz
xz was downloaded by brew under /usr/local/Cellar/xz/, and its' functional
soft link was under /usr/local/bin.
Just use the below to check out that xz under /usr/local/bin:
pwd && cd /usr/local/bin/ && pwd && ls -al | grep "xz"
1.uninstall 5.2.5:
brew uninstall xz:
Error: Refusing to uninstall /usr/local/Cellar/xz/5.2.5
because it is required by cairo, glib, gobject-introspection, harfbuzz, macvim, meson, pango, pdf2htmlex, [email protected], sphinx-doc and ttfautohint, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies xz
uninstall any way:
brew uninstall --ignore-dependencies xz
And that terminal output:
Uninstalling /usr/local/Cellar/xz/5.2.5... (95 files, 1.2MB)
xz 5.2.4 is still installed.
To remove all versions, run:
brew uninstall --force xz
2.change functional soft link source directory, roll back to 5.2.4.
change soft link source address under /usr/local/bin from
/usr/local/Cellar/xz/5.2.5/ to /usr/local/Cellar/xz/5.2.4/.
install PYTHONAPPSDIR
--prefix=/usr/local/Cellar/[email protected]/3.9.9
frameworkinstallextras PYTHONAPPSDIR
--datarootdir=/usr/local/Cellar/[email protected]/3.9.9/share
/usr/local/Cellar/[email protected]/3.9.9/bin/python3 -m venv /private/tmp/pythonA3.9-20220412-82687-1os90z/Python-3.9.9/whl_build
/private/tmp/pythonA3.9-20220412-82687-1os90z/Python-3.9.9/whl_build/bin/pip3 install -v --no-deps --no-binary :all: --no-index --no-buil
/private/tmp/pythonA3.9-20220412-82687-1os90z/Python-3.9.9/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-build-
/private/tmp/pythonA3.9-20220412-82687-1os90z/Python-3.9.9/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-build-
/private/tmp/pythonA3.9-20220412-82687-1os90z/Python-3.9.9/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-build-
Warning: These files were overwritten during the `brew link` step:
/usr/local/Frameworks/Python.framework/Headers
/usr/local/Frameworks/Python.framework/Python
/usr/local/Frameworks/Python.framework/Resources
/usr/local/Frameworks/Python.framework/Versions/Current
They have been backed up to: /Users/yq/Library/Caches/Homebrew/Backup
==> /usr/local/Cellar/[email protected]/3.9.9/bin/python3 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.9.9/bin/python3 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/python
brew uninstall [email protected]:
Error: Refusing to uninstall /usr/local/Cellar/[email protected]/3.9.9
because it is required by cairo, glib, gobject-introspection, harfbuzz, macvim, meson, pango, pdf2htmlex, sphinx-doc and ttfautohint, which are currently installed.
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into
/usr/local/opt/[email protected]/libexec/bin
You can install Python packages with
/usr/local/opt/[email protected]/bin/pip3 install
They will install into the site-package directory
/usr/local/lib/python3.10/site-packages
tkinter is no longer included with this formula, but it is available separately:
brew install [email protected]
[email protected] is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
==> Analytics
install: 271,353 (30 days), 984,491 (90 days), 1,923,968 (365 days)
install-on-request: 63,789 (30 days), 223,128 (90 days), 291,983 (365 days)
build-error: 341 (30 days)
yq@yinNiece-2 ~ brew install shellcheck
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Installing dependencies for shellcheck: pkg-config, gdbm, mpdecimal, readline, sqlite, xz, [email protected], [email protected], sphinx-doc, ghc, cabal-install and pandoc
==> Installing shellcheck dependency: pkg-config
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.2_3 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconf
==> make
==> make install
🍺 /usr/local/Cellar/pkg-config/0.29.2_3: 11 files, 628.7KB, built in 1 minute 24 seconds
==> Installing shellcheck dependency: gdbm
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 7876 (offset -857 lines).
==> ./configure --enable-libgdbm-compat --without-readline --prefix=/usr/local/Cellar/gdbm/1.22
==> make install
🍺 /usr/local/Cellar/gdbm/1.22: 24 files, 801.8KB, built in 27 seconds
==> Installing shellcheck dependency: mpdecimal
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/mpdecimal/2.5.1
==> make
==> make install
🍺 /usr/local/Cellar/mpdecimal/2.5.1: 71 files, 2MB, built in 16 seconds
==> Installing shellcheck dependency: readline
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> Patching
==> Applying readline81-001
patching file bind.c
patching file patchlevel
==> ./configure --prefix=/usr/local/Cellar/readline/8.1.1
==> make install
🍺 /usr/local/Cellar/readline/8.1.1: 48 files, 1.6MB, built in 25 seconds
==> Installing shellcheck dependency: sqlite
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/sqlite/3.37.0 --enable-dynamic-extensions --enable-readline --disable-editline --enable-session
==> make install
🍺 /usr/local/Cellar/sqlite/3.37.0: 11 files, 4.2MB, built in 1 minute 7 seconds
==> Installing shellcheck dependency: xz
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/xz/5.2.5
==> make check
==> make install
🍺 /usr/local/Cellar/xz/5.2.5: 95 files, 1.2MB, built in 1 minute 1 second
==> Installing shellcheck dependency: [email protected]
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
They have been backed up to: /Users/yq/Library/Caches/Homebrew/Backup
==> /usr/local/Cellar/[email protected]/3.9.9/bin/python3 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.9.9/bin/python3 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/python
==> Summary
🍺 /usr/local/Cellar/[email protected]/3.9.9: 7,839 files, 116MB, built in 6 minutes 16 seconds
==> Installing shellcheck dependency: [email protected]
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/[email protected]/3.10.0_2 --enable-ipv6 --datarootdir=/usr/local/Cellar/[email protected]/3.10.0_2/share --da
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/[email protected]/3.10.0_2
==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/[email protected]/3.10.0_2/share/[email protected]
==> /usr/local/Cellar/[email protected]/3.10.0_2/bin/python3 -m venv /private/tmp/pythonA3.10-20220412-96046-12laipd/Python-3.10.0/whl_build
==> /private/tmp/pythonA3.10-20220412-96046-12laipd/Python-3.10.0/whl_build/bin/pip3 install -v --no-deps --no-binary :all: --no-index --no-b
==> /private/tmp/pythonA3.10-20220412-96046-12laipd/Python-3.10.0/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-bui
==> /private/tmp/pythonA3.10-20220412-96046-12laipd/Python-3.10.0/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-bui
==> /private/tmp/pythonA3.10-20220412-96046-12laipd/Python-3.10.0/whl_build/bin/pip3 wheel -v --no-deps --no-binary :all: --no-index --no-bui
==> /usr/local/Cellar/[email protected]/3.10.0_2/bin/python3 -m ensurepip
==> /usr/local/Cellar/[email protected]/3.10.0_2/bin/python3 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/py
🍺 /usr/local/Cellar/[email protected]/3.10.0_2: 7,955 files, 117.9MB, built in 6 minutes 4 seconds
==> Installing shellcheck dependency: sphinx-doc
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
brew install mpdecimal
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Downloading https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz
Already downloaded: /Users/yq/Library/Caches/Homebrew/downloads/3780579ce2767fd3d4f759761f15093463bbfd9d9dd9bec07a374c73e6f9dd6a--mpdecimal-2.5.1.tar.gz
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/mpdecimal/2.5.1
==> make
==> make install
🍺 /usr/local/Cellar/mpdecimal/2.5.1: 71 files, 2MB, built in 14 seconds
==> brew cleanup has not been run in the last 30 days, running now...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
Removing: /Users/yq/Library/Caches/Homebrew/ca-certificates--2021-10-26... (117.6KB)
Removing: /Users/yq/Library/Caches/Homebrew/cmake--3.22.0.tar.gz... (9.3MB)
Removing: /usr/local/Cellar/gdbm/1.18.1... (20 files, 586.8KB)
Removing: /Users/yq/Library/Caches/Homebrew/gdbm--patch--35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c.diff... (960B)
Removing: /Users/yq/Library/Caches/Homebrew/[email protected]... (9.4MB)
Removing: /Users/yq/Library/Caches/Homebrew/openssl@1.1--patch--a66dcd4a3a291858deefaf260ffd8f2f55da953724e7a14db9c4523d8b7ef383.patch... (1.2KB)
Removing: /Users/yq/Library/Caches/Homebrew/openssl@1.1--patch--dd5498c0910c0ae91738fe8e796f4deb4767b08217c1a859fe390147f24809c6.patch... (2KB)
Removing: /Users/yq/Library/Caches/Homebrew/pcre--8.45.tar.bz2... (1.5MB)
Removing: /Users/yq/Library/Caches/Homebrew/pcre--patch--35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c.diff... (960B)
Removing: /usr/local/Cellar/pkg-config/0.29.2... (11 files, 627.2KB)
Removing: /usr/local/Cellar/readline/8.0.1... (48 files, 1.5MB)
Removing: /usr/local/Cellar/sqlite/3.30.1... (11 files, 3.9MB)
Removing: /Users/yq/Library/Caches/Homebrew/zlib--1.2.11... (149.8KB)
Removing: /Users/yq/Library/Caches/Homebrew/all_commands_list.txt... (963B)
Removing: /Users/yq/Library/Caches/Homebrew/ca-certificates_bottle_manifest--2021-10-26... (1.8KB)
Removing: /Users/yq/Library/Caches/Homebrew/descriptions.json... (350.0KB)
Removing: /Users/yq/Library/Caches/Homebrew/external_commands_list.txt... (57B)
Removing: /Users/yq/Library/Caches/Homebrew/[email protected]... (50.5MB)
Removing: /Users/yq/Library/Caches/Homebrew/portable-ruby-2.6.8.yosemite.bottle.tar.gz... (8.8MB)
Removing: /Users/yq/Library/Caches/Homebrew/zlib_bottle_manifest--1.2.11... (9.7KB)
Removing: /Users/yq/Library/Logs/Homebrew/ca-certificates... (68B)
Removing: /Users/yq/Library/Logs/Homebrew/cmake... (22 files, 5.2MB)
Removing: /Users/yq/Library/Logs/Homebrew/[email protected]... (10 files, 12.2MB)
Removing: /Users/yq/Library/Logs/Homebrew/nginx... (6 files, 148.4KB)
Removing: /Users/yq/Library/Logs/Homebrew/[email protected]... (7 files, 3.2MB)
Removing: /Users/yq/Library/Logs/Homebrew/pcre... (8 files, 252.7KB)
Removing: /Users/yq/Library/Logs/Homebrew/zlib... (68B)
Error: Permission denied @ apply2files - /usr/local/lib/docker/cli-plugins
Fixed upstairs Error:
sudo chown -R $(whoami) $(brew --prefix)/*
brew install xz
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.5.tar.gz
Already downloaded: /Users/yq/Library/Caches/Homebrew/downloads/a13e2dce533a3dcb05b2f1b86fc45eac1f6ebf737b54ef7d3089994649d28aa8--xz-5.2.5.tar.gz
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
==> ./configure --prefix=/usr/local/Cellar/xz/5.2.5
==> make check
==> make install
Error: The brew link step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/lzcat
Target /usr/local/bin/lzcat
is a symlink belonging to xz. You can unlink it:
brew unlink xz
To force the link and overwrite all conflicting files:
brew link --overwrite xz
To list all files that would be deleted:
brew link --overwrite --dry-run xz
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
brew install xz
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Warning: xz 5.2.5 is already installed, it's just not linked.
To link this version, run:
brew link xz
brew install [email protected]
Error:
homebrew-core is a shallow clone.
homebrew-cask is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
These commands may take a few minutes to run due to the large size of the repositories.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed into
/usr/local/opt/[email protected]/libexec/bin
You can install Python packages with
/usr/local/opt/[email protected]/bin/pip3 install
They will install into the site-package directory
/usr/local/lib/python3.10/site-packages
tkinter is no longer included with this formula, but it is available separately:
brew install [email protected]
==> Summary
🍺 /usr/local/Cellar/[email protected]/3.10.0_2: 7,955 files, 117.9MB, built in 6 minutes 37 seconds
==> Running brew cleanup [email protected]...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).