brew upgrade MacOs 11.3.1 error message curl: (7) Failed to connect to ghcr.io port 443: Bad file descriptor

Viewed 1314

enter image description here

Hi all I'm trying to update packages and encountered such an error message, anyone with similar experience managed to solve it, or what could be causing the error

MacOs 11.3.1 M1 model not intel. brew installation is for M1 arm not running rosetta

1 Answers

https://ghcr.io/v2/homebrew/core is the HOMEBREW_BOTTLE_DOMAIN, where all the prebuilt binary releases (bottles) are cached.

One of the reason is that the cached prebuilt is deleted, which indicated the homebrew-core repo is outdated.

Do a brew update and have a try againg.

Related