kdeldycke / meta-package-manager

🎁 wraps all package managers with a unifying CLI
https://kdeldycke.github.io/meta-package-manager
GNU General Public License v2.0
475 stars 33 forks source link

Support deletion of cask formula #17

Closed kdeldycke closed 2 years ago

kdeldycke commented 7 years ago

See the case of Audacity at: https://github.com/matryer/bitbar-plugins/issues/493#issuecomment-234276654

The error we get from mpm is kind of cryptic: screen shot 2016-12-22 at 00 03 06

This case might be detectable. See the (!) flag cask is reporing:

$ brew cask list
atom                                   hexchat                                quicklook-json
audacity (!)                           hugin                                  rowanj-gitx
avidemux                               inkscape                               spectacle

$ brew cask list --versions
android-file-transfer latest
atom 1.12.6
audacity (!) 2.1.2
avidemux 2.6.15
bitbar 1.9.2

$ brew cask info audacity
audacity: 
/usr/local/Caskroom/audacity/2.1.2 (1.3M)
Error: Invalid tap name '/'
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/pre_bug_report.md

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Homebrew/Library/Homebrew/tap.rb:29:in `fetch'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/info.rb:55:in `repo_info'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/info.rb:23:in `info'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/info.rb:11:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/info.rb:7:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/info.rb:7:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:110:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:149:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:24:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'
kdeldycke commented 2 years ago

I haven't encountered this issue in 5 years. I guess homebrew is now gracefully managing that case. Let's close this.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.