Skip to content

Instantly share code, notes, and snippets.

@taronaeo
Created May 18, 2023 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taronaeo/1fb6de6bdb821159a85f2aec6ee6e458 to your computer and use it in GitHub Desktop.
Save taronaeo/1fb6de6bdb821159a85f2aec6ee6e458 to your computer and use it in GitHub Desktop.
Homebrew failed to update, could not find heads master
taronaeo@Aarons-MacBook-Pro  ~  brew update --debug --verbose > homebrew-failure.txt
+ [[ -z '' ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n 1 ]]
+ export HOMEBREW_NO_UPDATE_CLEANUP=1
+ HOMEBREW_NO_UPDATE_CLEANUP=1
+ [[ -e /opt/homebrew/Cellar ]]
+ [[ ! -w /opt/homebrew/Cellar ]]
+ [[ ! -w /opt/homebrew ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ git --version
+ [[ -n '' ]]
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/shallow ]]
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/shallow ]]
+ [[ -n '' ]]
+ SHALLOW_COMMAND_PHRASE='This command'
+ SHALLOW_REPO_PHRASE=repository
+ [[ -n '' ]]
+ [[ -n '' ]]
+ export GIT_TERMINAL_PROMPT=0
+ GIT_TERMINAL_PROMPT=0
+ export 'GIT_SSH_COMMAND=ssh -oBatchMode=yes'
+ GIT_SSH_COMMAND='ssh -oBatchMode=yes'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z 1 ]]
+ QUIET_ARGS=()
+ [[ -z '' ]]
+ CURL_DISABLE_CURLRC_ARGS=(-q)
+ lock update
+ local name=update
+ local lock_dir=/opt/homebrew/var/homebrew/locks
+ local lock_file=/opt/homebrew/var/homebrew/locks/update
+ [[ -d /opt/homebrew/var/homebrew/locks ]]
+ [[ ! -w /opt/homebrew/var/homebrew/locks ]]
+ exec
+ exec
+ _create_lock 200 update
+ local lock_fd=200
+ local name=update
+ local ruby=/usr/bin/ruby
+ local python=/usr/bin/python
+ [[ -x /usr/bin/ruby ]]
+ [[ -x /usr/bin/python ]]
++ type -P python
+ python=
+ [[ -x /usr/bin/ruby ]]
+ /usr/bin/ruby -e 'exit(RUBY_VERSION >= '\''1.8.7'\'')'
+ /usr/bin/ruby -e 'File.new(200).flock(File::LOCK_EX | File::LOCK_NB) || exit(1)'
+ git_init_if_necessary
+ safe_cd /opt/homebrew
+ cd /opt/homebrew
+ [[ ! -d .git ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core ]]
+ safe_cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ [[ ! -d .git ]]
+ [[ https://github.com/Homebrew/brew != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\b\r\e\w ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core ]]
+ [[ https://github.com/Homebrew/homebrew-core != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\h\o\m\e\b\r\e\w\-\c\o\r\e ]]
+ [[ -n '' ]]
+ safe_cd /opt/homebrew
+ cd /opt/homebrew
++ git config homebrew.linuxbrewmigrated
+ [[ '' == \f\a\l\s\e ]]
+ [[ -n '' ]]
+ trap '{ /usr/bin/pkill -P $$; wait; exit 130; }' SIGINT
+ local update_failed_file=/opt/homebrew/.git/UPDATE_FAILED
+ local missing_remote_ref_dirs_file=/opt/homebrew/.git/FAILED_FETCH_DIRS
+ rm -f /opt/homebrew/.git/UPDATE_FAILED
+ rm -f /opt/homebrew/.git/FAILED_FETCH_DIRS
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/.git ]]
+ cd /opt/homebrew
+ git config --bool core.fsmonitor false
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git config --bool core.fsmonitor false
+ git config --local --get remote.origin.url
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew...'
++ repo_var /opt/homebrew
++ local repo_var
++ repo_var=/opt/homebrew
++ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=
++ echo ''
+ TAP_VAR=
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ declare PREFETCH_REVISION=f7b3225574c427da939ca32458004828a5be6523
+ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git tag --list
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git tag --list
+ [[ -z 0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.7.1
0.8
0.8.1
0.9
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.8
0.9.9
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.10
1.1.11
1.1.12
1.1.13
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1
1.5.10
1.5.11
1.5.12
1.5.13
1.5.14
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.9
1.6.0
1.6.1
1.6.10
1.6.11
1.6.12
1.6.13
1.6.14
1.6.15
1.6.16
1.6.17
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.6.8
1.6.9
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.9.0
1.9.1
1.9.2
1.9.3
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.1.10
2.1.11
2.1.12
2.1.13
2.1.14
2.1.15
2.1.16
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.0
2.2.1
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.4.0
2.4.1
2.4.10
2.4.11
2.4.12
2.4.13
2.4.14
2.4.15
2.4.16
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.5.0
2.5.1
2.5.10
2.5.11
2.5.12
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.6.0
2.6.1
2.6.2
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.7.5
2.7.6
2.7.7
3.0.0
3.0.1
3.0.10
3.0.11
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.1.0
3.1.1
3.1.10
3.1.11
3.1.12
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.2.0
3.2.1
3.2.10
3.2.11
3.2.12
3.2.13
3.2.14
3.2.15
3.2.16
3.2.17
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9
3.3.0
3.3.1
3.3.10
3.3.11
3.3.12
3.3.13
3.3.14
3.3.15
3.3.16
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.4.0
3.4.1
3.4.10
3.4.11
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.5.0
3.5.1
3.5.10
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
3.5.8
3.5.9
3.6.0
3.6.1
3.6.10
3.6.11
3.6.12
3.6.13
3.6.14
3.6.15
3.6.16
3.6.17
3.6.18
3.6.19
3.6.2
3.6.20
3.6.21
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.6.9
4.0.0
4.0.1
4.0.10
4.0.11
4.0.12
4.0.13
4.0.14
4.0.15
4.0.16
4.0.17
4.0.18
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.0.7
4.0.8
4.0.9 ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask
+ git config --bool core.fsmonitor false
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git config --bool core.fsmonitor false
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/brew
+ [[ https://github.com/Homebrew/brew == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/brew
+ UPSTREAM_REPOSITORY=Homebrew/brew
+ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -n '' ]]
+ git config --local --get remote.origin.url
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-cask...'
+ GITHUB_API_ETAG=f7b3225574c427da939ca32458004828a5be6523
+ GITHUB_API_ACCEPT=application/vnd.github.sha
+ GITHUB_API_ENDPOINT=commits/master
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/homebrew/homebrew-cask
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "f7b3225574c427da939ca32458004828a5be6523"' https://api.github.com/repos/Homebrew/brew/commits/master
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
+++ echo -n /homebrew/homebrew-cask
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CASK
++ echo _HOMEBREW_HOMEBREW_CASK
+ TAP_VAR=_HOMEBREW_HOMEBREW_CASK
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CASK=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ CURL_EXECUTABLE=/usr/bin/curl
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "f7b3225574c427da939ca32458004828a5be6523"' https://api.github.com/repos/Homebrew/brew/commits/master
+ declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CASK=a705394b84b760bd90a35ba92c47150401bb31a2
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ git config --bool core.fsmonitor false
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git config --bool core.fsmonitor false
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-cask
+ [[ https://github.com/Homebrew/homebrew-cask == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-cask
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-cask
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ git config --local --get remote.origin.url
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-core...'
+ GITHUB_API_ETAG=a705394b84b760bd90a35ba92c47150401bb31a2
+ GITHUB_API_ACCEPT=application/vnd.github.sha
+ GITHUB_API_ENDPOINT=commits/master
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-core
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-core
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/homebrew/homebrew-core
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "a705394b84b760bd90a35ba92c47150401bb31a2"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
+++ echo -n /homebrew/homebrew-core
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CORE
++ echo _HOMEBREW_HOMEBREW_CORE
+ TAP_VAR=_HOMEBREW_HOMEBREW_CORE
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CORE=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "a705394b84b760bd90a35ba92c47150401bb31a2"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master
+ declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CORE=110919252e3646afe54b816b25aa26911dd7b9bc
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok/.git ]]
+ cd /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok
+ git config --bool core.fsmonitor false
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git config --bool core.fsmonitor false
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-core
+ [[ https://github.com/Homebrew/homebrew-core == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-core
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-core
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ git config --local --get remote.origin.url
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok...'
+ GITHUB_API_ETAG=110919252e3646afe54b816b25aa26911dd7b9bc
+ GITHUB_API_ACCEPT=application/vnd.github.sha
+ GITHUB_API_ENDPOINT=commits/master
++ repo_var /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/ngrok/homebrew-ngrok
++ [[ /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/ngrok/homebrew-ngrok
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "110919252e3646afe54b816b25aa26911dd7b9bc"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
+++ echo -n /ngrok/homebrew-ngrok
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_NGROK_HOMEBREW_NGROK
++ echo _NGROK_HOMEBREW_NGROK
+ TAP_VAR=_NGROK_HOMEBREW_NGROK
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
++ upstream_branch=refs/remotes/origin/main
++ [[ -z refs/remotes/origin/main ]]
++ upstream_branch=main
++ [[ -z main ]]
++ echo main
+ UPSTREAM_BRANCH_DIR=main
+ declare UPSTREAM_BRANCH_NGROK_HOMEBREW_NGROK=main
++ git rev-parse -q --verify refs/remotes/origin/main
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/main
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "110919252e3646afe54b816b25aa26911dd7b9bc"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master
+ declare PREFETCH_REVISION_NGROK_HOMEBREW_NGROK=da896020b2bafc4d67b8117bd0b0b478f6888c78
+ [[ /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ wait
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
+ UPSTREAM_REPOSITORY_URL=https://github.com/ngrok/homebrew-ngrok
+ [[ https://github.com/ngrok/homebrew-ngrok == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=ngrok/homebrew-ngrok
+ UPSTREAM_REPOSITORY=ngrok/homebrew-ngrok
+ [[ /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git rev-parse refs/remotes/origin/main
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/main
+ GITHUB_API_ETAG=da896020b2bafc4d67b8117bd0b0b478f6888c78
+ GITHUB_API_ACCEPT=application/vnd.github.sha
+ GITHUB_API_ENDPOINT=commits/main
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "da896020b2bafc4d67b8117bd0b0b478f6888c78"' https://api.github.com/repos/ngrok/homebrew-ngrok/commits/main
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.6.7-32-g31758ea (Macintosh; arm64 Mac OS X 13.3) curl/7.87.0' --header 'Accept: application/vnd.github.sha' --header 'If-None-Match: "da896020b2bafc4d67b8117bd0b0b478f6888c78"' https://api.github.com/repos/ngrok/homebrew-ngrok/commits/main
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 304 == \3\0\4 ]]
+ exit
+ UPSTREAM_SHA_HTTP_CODE=200
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok/.git/FETCH_HEAD ]]
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD
+ touch /opt/homebrew/Library/Taps/ngrok/homebrew-ngrok/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 200 == \3\0\4 ]]
+ [[ -n 1 ]]
+ [[ -z '' ]]
+ echo 'Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core...'
+ [[ 304 == \3\0\4 ]]
+ exit
+ local tmp_failure_file=/opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES
+ rm -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES
+ [[ -n '' ]]
+ git fetch --tags --force origin refs/heads/master:refs/remotes/origin/master
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 304 == \3\0\4 ]]
+ exit
^C++ /usr/bin/pkill -P 8264
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES ]]
+ cat /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git fetch --tags --force origin refs/heads/master:refs/remotes/origin/master
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol error: bad pack header
+ [[ 200 == \4\0\4 ]]
+ echo 'Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed!'
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES ]]
++ cat /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES
+ [[ + [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git fetch --tags --force origin refs/heads/master:refs/remotes/origin/master
fetch-pack: unexpected disconnect while reading sideband packet
fatal: protocol error: bad pack header == \f\a\t\a\l\:\ \c\o\u\l\d\n\'\t\ \f\i\n\d\ \r\e\m\o\t\e\ \r\e\f\ \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
+ rm -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/TMP_FETCH_FAILURES
++ wait
++ exit 130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment