curl: (16) Error in the HTTP2 framing layer
のエラーを吐いて brew upgrade
が中断してしまう問題への対応。
Homebrew で FileZilla のアップデートが失敗する
brew upgrade --cleanup
==> Casks with `auto_updates` or `version :latest` will not be upgraded
==> Upgrading 1 outdated package:
filezilla 3.37.4 -> 3.38.1
==> Satisfying dependencies
==> Downloading https://download.filezilla-project.org/client/FileZilla_3.38.1_m
######################################################################## 100.0%
curl: (16) Error in the HTTP2 framing layer
==> Purging files for version 3.38.1 of Cask filezilla
Error: Download failed on Cask 'filezilla' with message: Download failed: https://download.filezilla-project.org/client/FileZilla_3.38.1_macosx-x86.app.tar.bz2
何度繰り返しても curl: (16) Error in the HTTP2 framing layer
のエラーメッセージで中断してしまう。
Curl のインストール
Brew cask install filezilla fail · Issue #53634 · Homebrew/homebrew-cask
Curl のバージョンを確認
brew config | grep Curl
Curl: 7.54.0 => /usr/bin/curl
Curl のインストール
brew install curl
export HOMEBREW_FORCE_BREWED_CURL=1
Curl のバージョンを再確認
brew config | grep Curl
Curl: 7.62.0 => /usr/bin/curl
更新の再実行
brew cask upgrade --cleanup
==> Casks with `auto_updates` or `version :latest` will not be upgraded
==> Upgrading 1 outdated package:
filezilla 3.37.4 -> 3.38.1
==> Satisfying dependencies
==> Downloading https://download.filezilla-project.org/client/FileZilla_3.38.1_macosx-x86.app.tar.bz2
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'filezilla'.
==> Starting upgrade for Cask filezilla
==> Backing App 'FileZilla.app' up to '/usr/local/Caskroom/FileZilla/3.37.4/FileZilla
==> Removing App '/Applications/FileZilla.app'.
==> Moving App 'FileZilla.app' to '/Applications/FileZilla.app'.
==> Purging files for version 3.37.4 of Cask filezilla
🍺 filezilla was successfully upgraded!