Homebrew/linuxbrew-core

Unable to install nvm on Linux

ashokm opened this issue · 2 comments

brew gist-logs <formula> link OR brew config AND brew doctor output

$ brew gist-logs nvm
Error: No logs.
$ brew config
HOMEBREW_VERSION: 3.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 94ce3236a517dfae6b492dcb4fd6b726a6175e8f
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 798e021623fc254eefc9d4438ff034205b8bff79
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 12.0 build (parse error)
Git: 2.31.1 => /home/linuxbrew/.linuxbrew/bin/git
Curl: 7.68.0 => /usr/bin/curl
Kernel: Linux 4.19.104-microsoft-standard x86_64 GNU/Linux
OS: Ubuntu 20.04.2 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.3.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@5: N/A
xorg: N/A
$ brew doctor
Your system is ready to brew.

  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?

Install NVM using brew install nvm.

What happened (include all command output)?

brew install nvm has previously been working to install NVM.

This no longer works and in the last few days, this is failing with:

$ brew install nvm
Updating Homebrew...
==> Downloading https://ghcr.io/v2/linuxbrew/core/nvm/manifests/0.38.0
curl: (22) The requested URL returned error: 404

Error: Failed to download resource "nvm_bottle_manifest"
Download failed: https://ghcr.io/v2/linuxbrew/core/nvm/manifests/0.38.0

What did you expect to happen?

For NVM to be installed using brew install nvm.

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

$ brew install nvm
Updating Homebrew...
==> Downloading https://ghcr.io/v2/linuxbrew/core/nvm/manifests/0.38.0
curl: (22) The requested URL returned error: 404

Error: Failed to download resource "nvm_bottle_manifest"
Download failed: https://ghcr.io/v2/linuxbrew/core/nvm/manifests/0.38.0

See #23106 (comment) for temporary workaround.

This is no longer failing since May 5, 2021. Closing the issue.