Closed shiyuhang0 closed 11 months ago
install with the macos homebrew
brew install thefuck
It outputs:
==> Fetching dependencies for thefuck: openssl@3, sqlite, python@3.11 and six ==> Fetching openssl@3 ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.1.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:becff25b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sh ######################################################################## 100.0% ==> Fetching sqlite #=#=-# # curl: (22) The requested URL returned error: 404 Error: Failure while executing; `/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.0.1\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.6\)\ curl/7.64.1 --header Accept-Language:\ en --fail --progress-bar --retry 3 --location --remote-time --output /Users/shiyuhang/Library/Caches/Homebrew/Formula/sqlite.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/b38fe3c1239958e979672c92a410e5add6e4d8fd/Formula/sqlite.rb` exited with 22. Here's the output: #=#=-# # curl: (22) The requested URL returned error: 404 ➜ ~ brew reinstall thefuck ==> Fetching dependencies for thefuck: openssl@3, sqlite, python@3.11 and six ==> Fetching openssl@3 ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.1.3 Already downloaded: /Users/shiyuhang/Library/Caches/Homebrew/downloads/f038f540886a6a94c000296efb3058dc47e867eef00f0c6836b8ff310bc04daa--openssl@3-3.1.3.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:becff25b Already downloaded: /Users/shiyuhang/Library/Caches/Homebrew/downloads/9c41f167dff5044c22e85805d2c602d289648f9bd51ca02dc3c92cdedee8fba8--openssl@3--3.1.3.arm64_big_sur.bottle.tar.gz ==> Fetching sqlite ##O=# # curl: (22) The requested URL returned error: 404 Error: Failure while executing; `/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.0.1\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.6\)\ curl/7.64.1 --header Accept-Language:\ en --fail --progress-bar --retry 3 --location --remote-time --output /Users/shiyuhang/Library/Caches/Homebrew/Formula/sqlite.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/b38fe3c1239958e979672c92a410e5add6e4d8fd/Formula/sqlite.rb` exited with 22. Here's the output: ##O=# # curl: (22) The requested URL returned error: 404
curl with my chrome also returns 404
FIxed by brew update
brew update
install with the macos homebrew
It outputs: