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

php@8.3: Failed to download resource "php@8.3" #2301

Closed
adjarriawan opened this issue Jan 30, 2024 · 5 comments
Closed

php@8.3: Failed to download resource "php@8.3" #2301

adjarriawan opened this issue Jan 30, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@adjarriawan
Copy link

curl: (22) The requested URL returned error: 401

brew install shivammathur/php/php@8.3

  1. arch -arm64 brew tap shivammathur/php
  2. arch -arm64 brew install shivammathur/php/php@8.3
Screenshot 2024-01-31 at 07 33 13
@adjarriawan adjarriawan added the bug Something isn't working label Jan 30, 2024
@shivammathur
Copy link
Owner

Please run brew update to update the tap and then try again.

@adjarriawan
Copy link
Author

Please run brew update to update the tap and then try again.

Screenshot 2024-01-31 at 23 21 07

Device: Macbook Air M1
OS: 14.2.1 (23C71)

@shivammathur
Copy link
Owner

@adjarriawan

From the blob url, it seems that the formulae in the tap are old.
Please make sure the tap is updated.

brew tap --repair shivammathur/php

And then check if the latest commit hash matches the latest commit on the repo

git -C $(brew --repo shivammathur/php) rev-list --max-parents=0 HE

Then, try again, and provide me the outputs of the commands if it is still failing.

@adjarriawan
Copy link
Author

@shivammathur

Screenshot 2024-02-03 at 00 24 51

For the repository, it is already using the latest, the error message displayed is still error code 401

@shivammathur
Copy link
Owner

shivammathur commented Feb 2, 2024

It seems that there is an issue with the alias in the tap of your end. It should fetch php 8.3 from shivammathur/php/php package and not shivammathur/php/php/8.3

image

Please remove the tap and try adding it again.

HOMEBREW_DEVELOPER=1 brew untap shivammathur/php
brew tap shivammathur/php

Also make sure the brew version is the latest one using brew update and check that brew doctor does not report any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants