tfutils / tfenv

Terraform version manager
MIT License
4.42k stars 446 forks source link

brew install tfenv on macos sonoma is not working #423

Open rvashishth opened 5 months ago

rvashishth commented 5 months ago

it seems an internal dependent package of tfenv is not working for sonoma os. following is the stack trace

Already downloaded: /Users/rvashish/Library/Caches/Homebrew/downloads/e0582271986bf91f2f8f4af389bbff336bb2e5cdcc91dd33fd2b4b3e42a37afe--grep-3.11.bottle_manifest.json
==> Pouring grep--3.11.arm64_sonoma.bottle.tar.gz
Error: Couldn't find manifest matching bottle checksum.
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/opt/homebrew/Library/Homebrew/software_spec.rb:450:in `github_packages_manifest_resource_tab'
/opt/homebrew/Library/Homebrew/software_spec.rb:422:in `tab_attributes'
/opt/homebrew/Library/Homebrew/formula.rb:2834:in `bottle_tab_attributes'
/opt/homebrew/Library/Homebrew/utils/bottles.rb:111:in `load_tab'
/opt/homebrew/Library/Homebrew/formula_installer.rb:1260:in `pour'
/opt/homebrew/Library/Homebrew/formula_installer.rb:430:in `install'
/opt/homebrew/Library/Homebrew/formula_installer.rb:750:in `install_dependency'
/opt/homebrew/Library/Homebrew/formula_installer.rb:669:in `block in install_dependencies'
/opt/homebrew/Library/Homebrew/formula_installer.rb:669:in `each'
/opt/homebrew/Library/Homebrew/formula_installer.rb:669:in `install_dependencies'
/opt/homebrew/Library/Homebrew/formula_installer.rb:407:in `install'
/opt/homebrew/Library/Homebrew/upgrade.rb:237:in `install_formula'
/opt/homebrew/Library/Homebrew/install.rb:358:in `install_formula'
/opt/homebrew/Library/Homebrew/install.rb:303:in `block in install_formulae'
/opt/homebrew/Library/Homebrew/install.rb:302:in `each'
/opt/homebrew/Library/Homebrew/install.rb:302:in `install_formulae'
/opt/homebrew/Library/Homebrew/cmd/install.rb:295:in `install'
/opt/homebrew/Library/Homebrew/brew.rb:86:in `<main>'
kvendingoldo commented 5 months ago

Try to use tenv instead of it: https://github.com/tofuutils/tenv It's a native binary file.

L0p0w3r commented 5 months ago

Install on Sonoma using Homebrew has worked ok for me today, so original issue may be device specific: ==> Pouring grep--3.11.arm64_sonoma.bottle.tar.gz 🍺 /opt/homebrew/Cellar/grep/3.11: 19 files, 1MB ==> Installing tfenv ==> Pouring tfenv--3.0.0.all.bottle.tar.gz 🍺 /opt/homebrew/Cellar/tfenv/3.0.0: 28 files, 98.8KB ==> Running brew cleanup tfenv...