homebrew-cask icon indicating copy to clipboard operation
homebrew-cask copied to clipboard

Error when upgrading / reinstalling quarto: (quarto: key not found: "install-location")

Open oddharsh opened this issue 1 year ago • 0 comments

Verification

Description of issue

I'm having trouble upgrading, reinstalling, or uninstalling quarto, which to my knowledge I had uninstalled with my other R tools a few weeks ago. I've tried using --force, and unlinking quarto, but I get the same broad class of errors detailed below.

Command that failed

brew upgrade --greedy

Output of command with --verbose --debug

==> Upgrading 1 outdated package:
quarto 1.4.549 -> 1.4.550
==> Upgrading quarto
==> Downloading https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/quarto-1.4.550-macos.pkg
Already downloaded: /Users/Aadharsh/Library/Caches/Homebrew/downloads/41a842e460de3ec756e2e83de95b729e1e494efd8e19d4be0db89ad5198764de--quarto-1.4.550-macos.pkg
==> Verifying checksum for '41a842e460de3ec756e2e83de95b729e1e494efd8e19d4be0db89ad5198764de--quarto-1.4.550-macos.pkg'
==> Uninstalling packages with sudo; the password may be necessary:
org.rstudio.quarto
==> Purging files for version 1.4.550 of Cask quarto
Error: quarto: key not found: "install-location"
Did you mean?  "install-time"
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/opt/homebrew/Library/Homebrew/cask/pkg.rb:98:in `fetch'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:98:in `root'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:92:in `block in pkgutil_bom_all'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:92:in `map'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:92:in `pkgutil_bom_all'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:74:in `pkgutil_bom_files'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/pkg.rb:29:in `uninstall'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:395:in `block (2 levels) in uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:393:in `each'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:393:in `block in uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:392:in `each'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:392:in `uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/artifact/abstract_uninstall.rb:79:in `dispatch_uninstall_directive'
/opt/homebrew/Library/Homebrew/cask/artifact/uninstall.rb:24:in `block in uninstall_phase'
/opt/homebrew/Library/Homebrew/cask/artifact/uninstall.rb:23:in `each'
/opt/homebrew/Library/Homebrew/cask/artifact/uninstall.rb:23:in `uninstall_phase'
/opt/homebrew/Library/Homebrew/cask/installer.rb:469:in `block in uninstall_artifacts'
/opt/homebrew/Library/Homebrew/cask/artifact_set.rb:14:in `each'
/opt/homebrew/Library/Homebrew/cask/artifact_set.rb:14:in `each'
/opt/homebrew/Library/Homebrew/cask/installer.rb:466:in `uninstall_artifacts'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/installer.rb:425:in `start_upgrade'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:196:in `upgrade_cask'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:114:in `block in upgrade_casks'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:113:in `each'
/opt/homebrew/Library/Homebrew/cask/upgrade.rb:113:in `upgrade_casks'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11258/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:260:in `upgrade_outdated_casks'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:141:in `upgrade'
/opt/homebrew/Library/Homebrew/brew.rb:86:in `<main>'

Output of brew doctor and brew config

Your system is ready to brew.

HOMEBREW_VERSION: 4.2.8-102-g65102db
ORIGIN: https://github.com/Homebrew/brew
HEAD: 65102db3f3666ed9fbfc2679c8f60b9b2a7a7b94
Last commit: 4 hours ago
Core tap JSON: 16 Feb 00:52 UTC
Core cask tap JSON: 16 Feb 00:52 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_AUTOREMOVE: set
HOMEBREW_BOOTSNAP: set
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.iBffAn8wp8/org.xquartz:0
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_FORCE_VENDOR_RUBY: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_EMOJI: set
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_UPGRADE_GREEDY: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.43.2 => /opt/homebrew/bin/git
Curl: 8.6.0 => /opt/homebrew/opt/curl/bin/curl
macOS: 14.4-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: N/A
Rosetta 2: false

Output of brew tap

brewsci/science
cloudflare/cloudflare
ddelange/brewformulae
homebrew-ffmpeg/ffmpeg
homebrew/cask-fonts
homebrew/cask-versions
homebrew/services
spicetify/tap

oddharsh avatar Feb 16 '24 01:02 oddharsh