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
Cannot run brew cleanup #16361
Comments
Is this a core cask or did it come from an external tap? I'm not seeing anything with that name in the search results. $ brew search youtube-music
==> Formulae
youtube-dlc
==> Casks
youtube-to-mp3 ytmdesktop-youtube-music |
I'm guessing that is external cask maintained by upstream project, i.e.
Related to th-ch/youtube-music#1496 I believe Cask file broke when we updated to Ruby 3. May need to try uninstalling Cask (not too sure if |
The fix here is probably turning this error into a warning so one broken cask doesn't prevent |
(this will involved catching and printing but not re-raising exceptions) |
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I just tried to run brew update, it tried to run brew cleanup and that failed, but there seems to be a problem with "youtube-music" cask pointing to wrong github URL, which made my brew stuck. I do not need this cask anymore, so I have tried to uninstall that with "brew uninstall --force --ignore-dependencies youtube-music" but that ends with the same error.
What happened (include all command output)?
~ brew upgrade
==>
brew cleanup
has not been run in the last 30 days, running now...Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see
man brew
).Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest
~ brew cleanup
Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest
What did you expect to happen?
Be able to install/update packages normally and/or run cleanup
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: