I'm trying to install curl
via Homebrew using brew install curl
.
However, the installation fails with:
The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON
==> Downloading https://ghcr.io/v2/homebrew/core/brotli/manifests/1.0.9
Already downloaded: /Users/currentuser/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json
Error: curl: Failed to download resource "brotli_bottle_manifest"
The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON):
/Users/currentuser/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json
What is the issue?
brew doctor
output? – AbigailError: openssl@3: Failed to download resource "ca-certificates_bottle_manifest" The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON):
– HumismError: curl: Failed to download resource "ca-certificates_bottle_manifest" The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON): /Users/user/Library/Caches/Homebrew/downloads/c95acf8107b31ec83053f411f74e85b2626e1a0c051467aff6b98acf996883d7--ca-certificates-2022-07-19_1.bottle_manifest.json Error: 'curl' must be installed and in your PATH! Failed during: /usr/local/bin/brew update --force --quiet
any idea how to resolve it? – Humism~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
– Humism