Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cask_tap_migrations.jws.json Missing #787

Closed
2 tasks done
etherwizard opened this issue Jul 7, 2023 · 3 comments
Closed
2 tasks done

cask_tap_migrations.jws.json Missing #787

etherwizard opened this issue Jul 7, 2023 · 3 comments
Labels

Comments

@etherwizard
Copy link

etherwizard commented Jul 7, 2023

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • your problem was from running the official install or uninstall script?
  • after installation: ran brew config and brew doctor and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?

What you were trying to do (and why)

Attempted to install Homebrew per the home page instructions.

What happened (include command output)

The script installed the Xcode Command Line tools successfully, but the script fails at this step:

Command output - macOS Ventura 13.4.1 (fresh upgrade from macOS Mojave)

==> /usr/bin/sudo /usr/sbin/chown -R [redacted] /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at 9f9ae1ede Merge pull request #15634 from Homebrew/install_from_api_setup_homebrew
Error: Failed to download https://formulae.brew.sh/api/cask_tap_migrations.jws.json!
Failed during: /opt/homebrew/bin/brew update --force --quiet

What you expected to happen

Homebrew installation was expected to complete without errors.

Step-by-step reproduction instructions (by running brew commands)

Executed the following command as per the homebrew.sh home page instructions:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

I was unable to reach a state where the brew command was accessible. Homebrew cannot be installed successfully with the cask_tap_migrations.jws.json file missing.

Just to verify, when I navigate to https://formulae.brew.sh/api/cask_tap_migrations.jws.json in Safari I get a 404 Not Found result:

Screenshot 2023-07-06 at 9 17 31 PM

However the ping command in Terminal on the formulae.brew.sh domain returns data, so the server is accessible. It appears that the cask_tap_migrations.jws.json file has been moved or misplaced.

@etherwizard
Copy link
Author

Possible duplicate of #763

I will continue to attempt installation.

@etherwizard
Copy link
Author

Self-corrected after seventh attempt. Closing this ticket. Thanks!

@osalbahr
Copy link
Sponsor Contributor

osalbahr commented Jul 7, 2023

Yeah, it's strange this is possibly related to Homebrew/discussions#4612. I get the following error when installing Homebrew from time to time:

HEAD is now at 9f9ae1ede Merge pull request #15634 from Homebrew/install_from_api_setup_homebrew
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:68923daf3e139482b977c3deba63a3b54ea37bb5f716482948878819ef911bad
Already downloaded: /var/home/dracula/.cache/Homebrew/portable-ruby-2.6.10_1.x86_64_linux.bottle.tar.gz
==> Pouring portable-ruby-2.6.10_1.x86_64_linux.bottle.tar.gz
==> Tapping homebrew/core
Cloning into '/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 323504, done.
remote: Counting objects: 100% (79071/79071), done.
remote: Compressing objects: 100% (9904/9904), done.
remote: Total 323504 (delta 76232), reused 69349 (delta 69167), pack-reused 244433
Receiving objects: 100% (323504/323504), 128.24 MiB | 10.99 MiB/s, done.
Resolving deltas: 100% (230214/230214), done.
fatal: did not receive expected object 1440b18bad184e43d9e4b3fc0c4db2421add9781
fatal: fetch-pack: invalid index-pack output
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core --origin=origin --template= --config core.fsmonitor=false` exited with 128.
Failed during: /home/linuxbrew/.linuxbrew/bin/brew update --force --quiet

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants