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

Unable to install with "brew install nakabonne/ali/ali" #53

Closed
snacks-lord opened this issue Oct 7, 2020 · 7 comments
Closed

Unable to install with "brew install nakabonne/ali/ali" #53

snacks-lord opened this issue Oct 7, 2020 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@snacks-lord
Copy link

snacks-lord commented Oct 7, 2020

I noticed this when installing:

$ brew install nakabonne/ali/ali
==> Tapping nakabonne/ali
Cloning into '/usr/local/Homebrew/Library/Taps/nakabonne/homebrew-ali'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 39 (delta 13), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (39/39), 6.26 KiB | 6.26 MiB/s, done.
Resolving deltas: 100% (13/13), done.
Tapped 1 formula (26 files, 33.6KB).
Error: No available formula or cask with the name "nakabonne/ali/ali".
==> Searching for similarly named formulae...
This similarly named formula was found:
ali
To install it, run:
  brew install ali
~ ⌚ 9:02:48
$ brew install ali              
==> Installing ali from nakabonne/ali
==> Downloading https://github.com/nakabonne/ali/releases/download/v0.3.3/ali_0.3.3_darwin_amd64.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/294836885/d0365a80-0
######################################################################## 100.0%
🍺  /usr/local/Cellar/ali/0.3.3: 5 files, 6.2MB, built in 2 seconds
```
`
@nakabonne
Copy link
Owner

@rmgmediaval Hi, thank you for reporting! According to Homebrew's documentation, the way to use fully qualified names seems to be recommended. And in my local machine, it actually works at Homebrew v2.5.2:

❯ brew -v
Homebrew 2.5.2

❯ brew install nakabonne/ali/ali
==> Installing ali from nakabonne/ali
==> Downloading https://github.com/nakabonne/ali/releases/download/v0.3.3/ali_0.3.3_darwin_amd64.tar.gz
🍺  /usr/local/Cellar/ali/0.3.3: 5 files, 6.2MB, built in 2 seconds

Could you let me know what version do you use?

@nakabonne nakabonne changed the title Update the README Unable to install with "brew install nakabonne/ali/ali" Oct 7, 2020
@nakabonne nakabonne added the help wanted Extra attention is needed label Oct 7, 2020
@rnevius
Copy link

rnevius commented Oct 8, 2020

This appears to be a problem with homebrew 2.5.3: ChargePoint/xcparse#54

@snacks-lord
Copy link
Author

I have Homebrew v 2.5.3

@nakabonne
Copy link
Owner

@rnevius Thanks for the valuable information!

@rmgmediaval Can you try to update it and see if you can install it?

@snacks-lord
Copy link
Author

snacks-lord commented Oct 8, 2020

@nakabonne I think there is a small misunderstanding. I was able to install ali when I posted my initial comment (see above).
I just thought I'd help by letting you know that I wasn't able to do it with qualified names. I simply wasn't aware it was because of my homebrew version.

Furthermore, I updated my homebrew installation and tried installing the cask the way it's described in the README. It attempts to do it now.


`$ brew install nakabonne/ali/ali
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (nakabonne/ali).
==> Updated Formulae
Updated 1 formula.

==> Installing ali from nakabonne/ali
==> Downloading https://github.com/nakabonne/ali/releases/download/v0.3.4/ali_0.3.4_darwin_amd64.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/294836885/c5aacb00-0
######################################################################## 100.0%
Error: ali 0.3.3 is already installed
To upgrade to 0.3.4, run `brew upgrade nakabonne/ali/ali`.

`

@agoddard
Copy link

agoddard commented Oct 9, 2020

Tested this on 2.5.5, and it works fine now, the problem was introduced in homebrew 2.5.3 and fixed in 2.5.4 Homebrew/brew#8875

@nakabonne
Copy link
Owner

@rmgmediaval @agoddard Thanks for giving it a try! Closing since we found out it was a Homebrew's bug that only occurred at v2.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants